DEV: User email test optimization (#7405)

This commit is contained in:
Daniel Waterworth
2019-04-23 09:49:05 +00:00
committed by Guo Xiang Tan
parent 8c8d3bea31
commit bf313c1b68
9 changed files with 18 additions and 18 deletions

View File

@ -19,7 +19,7 @@ describe UserDestroyer do
describe 'destroy' do
before do
@admin = Fabricate(:admin)
@user = Fabricate(:user)
@user = Fabricate(:user_with_secondary_email)
end
it 'raises an error when user is nil' do