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_no_missing_translations
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_no_missing_translations
assert_select "form > fieldset > div.form-row > input.field_with_errors#user_display_name"
assert_no_missing_translations
end
assert_select "form > fieldset > div.form-row > input.field_with_errors#user_display_name"
assert_no_missing_translations
end
assert_equal register_email.to.first, new_email
# Check that the confirm account url is correct
assert_equal register_email.to.first, new_email
# Check that the confirm account url is correct
ActionMailer::Base.deliveries.clear
# Go to the confirmation page
get "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :success
ActionMailer::Base.deliveries.clear
# Go to the confirmation page
get "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :success
post "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :redirect
post "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :redirect
ActionMailer::Base.deliveries.clear
# Go to the confirmation page
get "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :success
ActionMailer::Base.deliveries.clear
# Go to the confirmation page
get "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :success
post "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :redirect
post "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :redirect
ActionMailer::Base.deliveries.clear
# Go to the confirmation page
get "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :success
ActionMailer::Base.deliveries.clear
# Go to the confirmation page
get "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :success
post "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :redirect
post "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :redirect
ActionMailer::Base.deliveries.clear
# Go to the confirmation page
get "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :success
ActionMailer::Base.deliveries.clear
# Go to the confirmation page
get "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :success
post "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :redirect
post "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :redirect
ActionMailer::Base.deliveries.clear
# Go to the confirmation page
get "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :success
ActionMailer::Base.deliveries.clear
# Go to the confirmation page
get "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :success
post "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :redirect
post "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :redirect
ActionMailer::Base.deliveries.clear
# Go to the confirmation page
get "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :success
ActionMailer::Base.deliveries.clear
# Go to the confirmation page
get "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :success
post "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :redirect
post "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :redirect
ActionMailer::Base.deliveries.clear
# Go to the confirmation page
get "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :success
ActionMailer::Base.deliveries.clear
# Go to the confirmation page
get "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :success
post "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :redirect
post "/user/#{display_name}/confirm", :params => { :confirm_string => confirm_string }
assert_response :redirect