Fixed a bug where path is not set to / by default.
[catagits/Web-Session.git] / t / 013_cookiestore.t
index 51c2278..f1f1a58 100644 (file)
@@ -32,6 +32,7 @@ test_psgi ua => $ua, app => $app, client => sub {
     my $res = $cb->(GET "/");
     is $res->content, "counter=0";
     like $res->header('Set-Cookie'), qr/expires=/;
+    like $res->header('Set-Cookie'), qr/path=\//;
 
     $res = $cb->(GET "/");
     is $res->content, "counter=1";