OmniAuth.config.test_mode = true
stub_request(:get, /.*gravatar.com.*d=404/).to_return(:status => 404)
- stub_hostip_requests
end
def teardown
assert_response :success
assert_template "users/new"
assert_equal locale.to_s, response.headers["Content-Language"] unless locale == :root
- assert_select "form > fieldset > div.form-row > input.field_with_errors#user_email"
+ assert_select "form > fieldset > div.standard-form-row > input.field_with_errors#user_email"
assert_no_missing_translations
end
end
end
assert_response :success
assert_template "users/new"
- assert_select "form > fieldset > div.form-row > input.field_with_errors#user_display_name"
+ assert_select "form > fieldset > div.standard-form-row > input.field_with_errors#user_display_name"
assert_no_missing_translations
end
end