Skip to content

Commit

Permalink
Merge pull request #64 from juno/fix-compatibility-with-rack-test-2.0
Browse files Browse the repository at this point in the history
Fix incompatibility with rack-test 2.0
  • Loading branch information
nruth authored Jul 14, 2022
2 parents 299afb2 + 2e45d9f commit ff1fe59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/show_me_the_cookies/adapters/rack_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def create_cookie(name, value, options)

private
def cookie_jar
@rack_test_driver.browser.current_session.instance_variable_get(:@rack_mock_session).cookie_jar
@rack_test_driver.browser.current_session.cookie_jar
end

def cookies
Expand Down

0 comments on commit ff1fe59

Please # to comment.