spec/support/fake_app.rb in faraday-cookie_jar-0.0.4 vs spec/support/fake_app.rb in faraday-cookie_jar-0.0.5
- old
+ new
@@ -14,6 +14,10 @@
end
get '/expires' do
response.set_cookie "foo", :value => "bar", :expires => Time.now + 1
end
+
+ get '/multiple_cookies' do
+ "foo=#{request.cookies['foo']};language=#{request.cookies['language']}"
+ end
end