mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-03-25 08:55:53 +00:00
Remove an unsupported keyword: session.
This commit is contained in:
parent
02587d67e0
commit
17a3cbc970
1 changed files with 2 additions and 5 deletions
|
|
@ -310,7 +310,6 @@ module TestHTTPCookieJar
|
|||
cookie = HTTP::Cookie.new(cookie_values(:origin => url))
|
||||
s_cookie = HTTP::Cookie.new(cookie_values(:name => 'Bar',
|
||||
:expires => nil,
|
||||
:session => true,
|
||||
:origin => url))
|
||||
|
||||
@jar.add(cookie)
|
||||
|
|
@ -341,8 +340,7 @@ module TestHTTPCookieJar
|
|||
# Add one cookie with an expiration date in the future
|
||||
cookie = HTTP::Cookie.new(cookie_values)
|
||||
s_cookie = HTTP::Cookie.new(cookie_values(:name => 'Bar',
|
||||
:expires => nil,
|
||||
:session => true))
|
||||
:expires => nil))
|
||||
|
||||
@jar.add(cookie)
|
||||
@jar.add(s_cookie)
|
||||
|
|
@ -368,8 +366,7 @@ module TestHTTPCookieJar
|
|||
cookie = HTTP::Cookie.new(cookie_values)
|
||||
expires = cookie.expires
|
||||
s_cookie = HTTP::Cookie.new(cookie_values(:name => 'Bar',
|
||||
:expires => nil,
|
||||
:session => true))
|
||||
:expires => nil))
|
||||
cookie2 = HTTP::Cookie.new(cookie_values(:name => 'Baz',
|
||||
:value => 'Foo#Baz',
|
||||
:path => '/foo/',
|
||||
|
|
|
|||
Loading…
Reference in a new issue