summaryrefslogtreecommitdiff
path: root/test/spec_session_cookie.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2010-12-09 11:05:17 -0600
committerJoshua Peek <josh@joshpeek.com>2010-12-09 11:05:17 -0600
commitbff192e43593fd8eed6def7d0ff4a6416ac247b9 (patch)
tree90575f18d9ffdc9589320630d797cfcd261ee34a /test/spec_session_cookie.rb
parent85ca454e6143a3081d90e4546ccad602a4c3ad2e (diff)
downloadrack-bff192e43593fd8eed6def7d0ff4a6416ac247b9.tar.gz
Silence test warnings
Diffstat (limited to 'test/spec_session_cookie.rb')
-rw-r--r--test/spec_session_cookie.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/spec_session_cookie.rb b/test/spec_session_cookie.rb
index 8b40775a..e37141fd 100644
--- a/test/spec_session_cookie.rb
+++ b/test/spec_session_cookie.rb
@@ -87,8 +87,8 @@ describe Rack::Session::Cookie do
app = Rack::Session::Cookie.new(session_id)
res = Rack::MockRequest.new(app).get("/", "HTTP_COOKIE" => res["Set-Cookie"])
- res.body.should.match /"session_id"=>/
- res.body.should.match /"counter"=>1/
+ res.body.should.match(/"session_id"=>/)
+ res.body.should.match(/"counter"=>1/)
end
it "does not return a cookie if set to secure but not using ssl" do