Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #8 from samsoffes/master

Allow symbols when deleting using Rack::Test
  • Loading branch information...
commit bc638a9de9023b30d76c6f27dd8fe4140ebffdd5 2 parents f9a2103 + 6d49629
@nruth authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/show_me_the_cookies/rack_test.rb
View
2  lib/show_me_the_cookies/rack_test.rb
@@ -21,7 +21,7 @@ def expire_cookies
def delete_cookie(cookie_name)
cookies.reject! do |existing_cookie|
- existing_cookie.name.downcase == cookie_name
+ existing_cookie.name.downcase == cookie_name.to_s
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.