summaryrefslogtreecommitdiff
path: root/spec/support/login_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/login_helpers.rb')
-rw-r--r--spec/support/login_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/login_helpers.rb b/spec/support/login_helpers.rb
index ebd9693..fde02b4 100644
--- a/spec/support/login_helpers.rb
+++ b/spec/support/login_helpers.rb
@@ -17,6 +17,6 @@ module LoginHelpers
end
def skip_admin_auth
- ApplicationController.any_instance.stub(authenticate_admin!: true)
+ allow_any_instance_of(ApplicationController).to receive_messages(authenticate_admin!: true)
end
end