class AuthenticationSignOutViaTest

Public Instance Methods

sign_in!(scope) click to toggle source
# File test/integration/authenticatable_test.rb, line 638
def sign_in!(scope)
  sign_in_as_admin(visit: send("new_#{scope}_session_path"))
  assert warden.authenticated?(scope)
end