Remove redundant method, login_as is the name of the test helper in warden

This commit is contained in:
Luis Ramos
2020-07-27 14:43:22 +01:00
parent d6a5ad70a8
commit 95a9ca7775

View File

@@ -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,