Permalink
Browse files

Fixes RailsRequestAdapter for test. It was inconsistent with MockCook…

…ieJar.
  • Loading branch information...
1 parent 86e992c commit 79da1f4385da4e074bfa1a126e019469b16cdbc6 @julianalucena committed Dec 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/authlogic/test_case/rails_request_adapter.rb
@@ -9,7 +9,7 @@ def authenticate_with_http_basic(&block)
def cookies
new_cookies = MockCookieJar.new
super.each do |key, value|
- new_cookies[key] = value[:value]
+ new_cookies[key] = { :value => value[:value] }
end
new_cookies
end

0 comments on commit 79da1f4

Please sign in to comment.