assert_response :success
assert_template 'new'
assert_select "div#errorExplanation"
- assert_select "table#loginForm > tr > td > div[class=fieldWithErrors] > input#user_email"
+ assert_select "table#signupForm > tr > td > div[class=fieldWithErrors] > input#user_email"
end
# Check that the user account page will display and contains some relevant
# information for the user
def test_view_user_account
- get :view
+ get :view, {:display_name => "unknown"}
assert_response :not_found
get :view, {:display_name => "test"}