Class: Capybara::Session
- Inherits:
-
Object
- Object
- Capybara::Session
- Defined in:
- lib/cucumber_tree/hooks.rb
Instance Method Summary collapse
Instance Method Details
#cookies ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/cucumber_tree/hooks.rb', line 5 def @cookies ||= begin secret = Rails.application.config.secret_token = ActionDispatch::Cookies::CookieJar.new(secret) .stub(:close!) end end |