From 95a9ca77753f0d6dc2aac5d3d004b23dea61d3c7 Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Mon, 27 Jul 2020 14:43:22 +0100 Subject: [PATCH] Remove redundant method, login_as is the name of the test helper in warden --- spec/support/request/authentication_helper.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spec/support/request/authentication_helper.rb b/spec/support/request/authentication_helper.rb index c60f7b92ba..cde0e51912 100644 --- a/spec/support/request/authentication_helper.rb +++ b/spec/support/request/authentication_helper.rb @@ -1,10 +1,6 @@ module AuthenticationHelper include Warden::Test::Helpers - def login_as(user) - login_as user - end - def login_as_admin admin_role = Spree::Role.find_or_create_by!(name: 'admin') admin_user = create(:user,