From 4ef0c6888b7035c1dc6ef8f9ecfa5dfb63884b98 Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Wed, 29 Mar 2017 14:24:22 -0400 Subject: [PATCH] Remove unused `skip_ci_admin_auth` helper --- spec/support/login_helpers.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spec/support/login_helpers.rb b/spec/support/login_helpers.rb index 9ffb00be0b8..e6da852e728 100644 --- a/spec/support/login_helpers.rb +++ b/spec/support/login_helpers.rb @@ -84,8 +84,4 @@ module LoginHelpers def logout_direct page.driver.submit :delete, '/users/sign_out', {} end - - def skip_ci_admin_auth - allow_any_instance_of(Ci::Admin::ApplicationController).to receive_messages(authenticate_admin!: true) - end end