Remove unused return value of admin login helper

Well, there was one use of the return helper. But I don't think that
it's a very intuitive method.
This commit is contained in:
Maikel Linke
2023-03-29 15:14:03 +11:00
parent e91e827f29
commit 425674c4e5
2 changed files with 3 additions and 4 deletions

View File

@@ -4,9 +4,7 @@ module AuthenticationHelper
include Warden::Test::Helpers
def login_as_admin
admin_user = create(:admin_user)
login_as admin_user
admin_user
login_as create(:admin_user)
end
def login_as_admin_and_visit(path_visit)