Method: Authlogic::TestCase::RailsRequestAdapter#cookies

Defined in:
lib/authlogic/test_case/rails_request_adapter.rb

#cookiesObject



12
13
14
15
16
17
18
# File 'lib/authlogic/test_case/rails_request_adapter.rb', line 12

def cookies
  new_cookies = MockCookieJar.new
  super.each do |key, value|
    new_cookies[key] = cookie_value(value)
  end
  new_cookies
end