Class: Booth::Testing::Support::ForceLogin

Inherits:
Object
  • Object
show all
Includes:
Calls
Defined in:
lib/booth/testing/support/force_login.rb

Instance Method Summary collapse

Instance Method Details

#callObject



12
13
14
15
16
17
18
# File 'lib/booth/testing/support/force_login.rb', line 12

def call
   = ::Booth::Core::Sessions::CreateAndLogin.call(domain: request.host, scope:,
                                                       credential:, request:)
  raise .inspect if .failure?

  nil
end