Rename and refactor User#confirm!
to User#mark_email_as_confirmed!
(#28735)
This commit is contained in:
parent
e621c1c44c
commit
98b5f85f10
7 changed files with 33 additions and 35 deletions
|
@ -49,7 +49,7 @@ describe 'Using OAuth from an external app' do
|
|||
let(:user) { Fabricate(:user, email: email, password: password) }
|
||||
|
||||
before do
|
||||
user.confirm!
|
||||
user.mark_email_as_confirmed!
|
||||
user.approve!
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue