Merge message when Gravatar status has changed with email confirmation

Merge message when Gravatar status has changed with email confirmation and make messages more verbose and friendly.
This commit is contained in:
Simon Poole 2016-08-19 08:59:40 +02:00
parent ad0e7b2c22
commit 0837205d02
3 changed files with 19 additions and 12 deletions

View file

@ -523,6 +523,7 @@ class UserControllerTest < ActionController::TestCase
def test_confirm_email_success
user = users(:second_public_user)
confirm_string = user.tokens.create.token
post :confirm_email, :confirm_string => confirm_string
assert_response :redirect
assert_redirected_to :action => :account, :display_name => user.display_name