X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Session-State-Cookie.git;a=blobdiff_plain;f=t%2Fbasic.t;h=ec5e4c788c07735fd4e5635c4a35fd3150779cca;hp=843ff26c7b5f064138f9ffeac3b8fb8963585e90;hb=91e4fe2d76c8198894f01c4e4de03c6fb1fb7d42;hpb=8bdcbb468aedff34275a7fb30b18ea8be066255b diff --git a/t/basic.t b/t/basic.t index 843ff26..ec5e4c7 100644 --- a/t/basic.t +++ b/t/basic.t @@ -78,7 +78,7 @@ $req->clear; can_ok( $m, "cookie_is_rejecting" ); %req_cookies = ( path => '/foo' ); -$req->set_always( path => '/' ); +$req->set_always( path => '' ); ok( $cxt->cookie_is_rejecting(\%req_cookies), "cookie is rejecting" ); -$req->set_always( path => '/foo/bar' ); +$req->set_always( path => 'foo/bar' ); ok( !$cxt->cookie_is_rejecting(\%req_cookies), "cookie is not rejecting" );