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:
parent
ad0e7b2c22
commit
0837205d02
3 changed files with 19 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue