to ensure that session requirements in setup are persisted in the tests
Public Instance Methods
test_cookies_set_in_setup_are_persisted_through_the_session()click to toggle source
# File actionpack/test/controller/integration_test.rb, line 939deftest_cookies_set_in_setup_are_persisted_through_the_sessionget"/foo"assert_equal({ "user_name"=>"david" }, cookies.to_hash)
end