mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Remove redundant method, login_as is the name of the test helper in warden
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user