diff options
Diffstat (limited to 'spec/services/two_factor')
-rw-r--r-- | spec/services/two_factor/destroy_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/two_factor/destroy_service_spec.rb b/spec/services/two_factor/destroy_service_spec.rb index 3df4d1593c6..30c189520fd 100644 --- a/spec/services/two_factor/destroy_service_spec.rb +++ b/spec/services/two_factor/destroy_service_spec.rb @@ -85,7 +85,7 @@ RSpec.describe TwoFactor::DestroyService do it_behaves_like 'disables two-factor authentication' end - context 'admin disables the two-factor authentication of another user' do + context 'admin disables the two-factor authentication of another user', :enable_admin_mode do let(:current_user) { create(:admin) } let(:user) { create(:user, :two_factor) } |