more headings

This commit is contained in:
Mark Moser
2017-03-20 14:38:57 -05:00
parent 0727440a31
commit 5e743ca2eb
14 changed files with 45 additions and 9 deletions

View File

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