html reset

This commit is contained in:
Mark Moser
2017-03-20 10:57:50 -05:00
parent cb6f41fe29
commit 0727440a31
58 changed files with 397 additions and 529 deletions

View File

@ -64,7 +64,7 @@ module Admin
assert_redirected_to admin_question_path(question.to_i)
get admin_question_path question.to_i
assert_select 'p', 'foo bar baz'
assert_select 'div', 'foo bar baz'
end
test "should post attachment" do

View File

@ -40,7 +40,7 @@ module Admin
quiz = quizzes :fed
get admin_quiz_url quiz.to_i
assert_response :success
assert_select 'p', quiz.dept
assert_select 'div', quiz.dept
end
test "should get edit" do
@ -56,7 +56,7 @@ module Admin
assert_redirected_to admin_quiz_path(quiz.to_i)
get admin_quiz_path quiz.to_i
assert_select 'p', 'another'
assert_select 'div', 'another'
end
test "should fail to update quiz" do

View File

@ -44,7 +44,7 @@ module Admin
user = users(:recruiter)
get admin_user_url user.to_i
assert_response :success
assert_select 'p', user.name
assert_select 'div', 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 'p', 'new name'
assert_select 'div', 'new name'
end
test "should fail to update user" do