Class: Booth::Test::Support::AssertLoggedOut
- Inherits:
-
Object
- Object
- Booth::Test::Support::AssertLoggedOut
- Includes:
- MethodObject
- Defined in:
- lib/booth/test/support/assert_logged_out.rb
Instance Method Summary collapse
Methods included from MethodObject
Instance Method Details
#call ⇒ Object
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 |