FIX: Staged users are still missing primary email.

This commit is contained in:
Guo Xiang Tan
2017-08-09 11:56:08 +09:00
parent c4b49fbabe
commit 0bc690ed11
6 changed files with 54 additions and 40 deletions

View File

@ -2031,9 +2031,10 @@ describe UsersController do
user = Fabricate(:inactive_user)
token = user.email_tokens.first
xhr :put, :update_activation_email, username: user.username,
password: 'qwerqwer123',
email: 'updatedemail@example.com'
xhr :put, :update_activation_email,
username: user.username,
password: 'qwerqwer123',
email: 'updatedemail@example.com'
expect(response).to be_success