Remove unused skip_ci_admin_auth helper

This commit is contained in:
Robert Speicher 2017-03-29 14:24:22 -04:00
parent b638e45c6b
commit 4ef0c6888b

View file

@ -84,8 +84,4 @@ module LoginHelpers
def logout_direct def logout_direct
page.driver.submit :delete, '/users/sign_out', {} page.driver.submit :delete, '/users/sign_out', {}
end end
def skip_ci_admin_auth
allow_any_instance_of(Ci::Admin::ApplicationController).to receive_messages(authenticate_admin!: true)
end
end end