Inline validation errors on sign up page

This commit is contained in:
John Firebaugh 2013-08-01 12:02:12 -07:00
parent 6ab52cd256
commit c5fc21e6a6
4 changed files with 17 additions and 9 deletions

View file

@ -259,7 +259,6 @@ class UserControllerTest < ActionController::TestCase
end
assert_response :success
assert_template 'new'
assert_select "div#errorExplanation"
assert_select "form > fieldset > div.form-row > div.field_with_errors > input#user_email"
end
@ -279,7 +278,6 @@ class UserControllerTest < ActionController::TestCase
end
assert_response :success
assert_template 'new'
assert_select "div#errorExplanation"
assert_select "form > fieldset > div.form-row > div.field_with_errors > input#user_email"
end
@ -299,7 +297,6 @@ class UserControllerTest < ActionController::TestCase
end
assert_response :success
assert_template 'new'
assert_select "div#errorExplanation"
assert_select "form > fieldset > div.form-row > div.field_with_errors > input#user_display_name"
end
@ -319,7 +316,6 @@ class UserControllerTest < ActionController::TestCase
end
assert_response :success
assert_template 'new'
assert_select "div#errorExplanation"
assert_select "form > fieldset > div.form-row > div.field_with_errors > input#user_display_name"
end