Class: Booth::Testing::Support::GetSessionValue
- Inherits:
-
Object
- Object
- Booth::Testing::Support::GetSessionValue
- Includes:
- Logging, Calls, Capybara::DSL
- Defined in:
- lib/booth/testing/support/get_session_value.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/booth/testing/support/get_session_value.rb', line 13 def call ::::Lockstep.synchronize result = nil in_new_window do result = page.get_rack_session[key] end log { "session[#{key.inspect}] is: #{result.inspect}" } ::::Lockstep.synchronize result end |