admin views roughed in

This commit is contained in:
Mark Moser
2016-08-18 18:22:57 -05:00
parent 430097b6ef
commit 63701c8247
29 changed files with 316 additions and 104 deletions

View File

@ -39,7 +39,7 @@ module Admin
user = users(:recruiter)
get admin_user_url user.to_i
assert_response :success
assert_select 'main', user.name
assert_select 'p', user.name
end
test "should get edit" do
@ -55,7 +55,7 @@ module Admin
assert_redirected_to admin_user_path(user.to_i)
get admin_user_url user.to_i
assert_select 'main', 'new name'
assert_select 'p', 'new name'
end
test "should fail to update user" do