about summary refs log tree commit diff
path: root/spec/controllers/admin/users/two_factor_authentications_controller_spec.rb
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-02-20 00:14:50 -0500
committerGitHub <noreply@github.com>2023-02-20 06:14:50 +0100
commit5116347eb7cfd0a09f55efbd84f8d3fa11d4d6ba (patch)
tree02fd0ac43ec43ccb974e4e370f6aeedf223b7d95 /spec/controllers/admin/users/two_factor_authentications_controller_spec.rb
parentbf785df9fe044f2f13bfb93e6860a74084d8eb8a (diff)
Autofix Rubocop RSpec/BeEq (#23740)
Diffstat (limited to 'spec/controllers/admin/users/two_factor_authentications_controller_spec.rb')
-rw-r--r--spec/controllers/admin/users/two_factor_authentications_controller_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/controllers/admin/users/two_factor_authentications_controller_spec.rb b/spec/controllers/admin/users/two_factor_authentications_controller_spec.rb
index e56264ef6..990dcf640 100644
--- a/spec/controllers/admin/users/two_factor_authentications_controller_spec.rb
+++ b/spec/controllers/admin/users/two_factor_authentications_controller_spec.rb
@@ -20,7 +20,7 @@ describe Admin::Users::TwoFactorAuthenticationsController do
         delete :destroy, params: { user_id: user.id }
 
         user.reload
-        expect(user.otp_enabled?).to eq false
+        expect(user.otp_enabled?).to be false
         expect(response).to redirect_to(admin_account_path(user.account_id))
       end
     end
@@ -43,8 +43,8 @@ describe Admin::Users::TwoFactorAuthenticationsController do
         delete :destroy, params: { user_id: user.id }
 
         user.reload
-        expect(user.otp_enabled?).to eq false
-        expect(user.webauthn_enabled?).to eq false
+        expect(user.otp_enabled?).to be false
+        expect(user.webauthn_enabled?).to be false
         expect(response).to redirect_to(admin_account_path(user.account_id))
       end
     end