Class: Booth::Test::Support::AssertLoggedOut

Inherits:
Object
  • Object
show all
Includes:
MethodObject
Defined in:
lib/booth/test/support/assert_logged_out.rb

Instance Method Summary collapse

Methods included from MethodObject

included

Instance Method Details

#callObject



10
11
12
13
14
15
16
# File 'lib/booth/test/support/assert_logged_out.rb', line 10

def call
  ::Capybara::Lockstep.synchronize

  return unless logged_in?

  raise 'Expected nobody to logged in, but somebody is logged in.'
end