Fixed path, can now be changed properly, also updated test for this
[catagits/Catalyst-Runtime.git] / t / live / engine / request / uri.t
index a6c6b38..8d91502 100644 (file)
@@ -17,7 +17,7 @@ my $creq;
     ok( my $response = request('http://localhost/engine/request/uri/change_path'), 'Request' );\r
     ok( $response->is_success, 'Response Successful 2xx' );\r
     ok( eval '$creq = ' . $response->content, 'Unserialize Catalyst::Request' );\r
-    like( $creq->uri, qr{/my/app/lives/here}, 'URI contains new path' );\r
+    like( $creq->uri, qr{/my/app/lives/here$}, 'URI contains new path' );\r
 }\r
 \r
 # test that path properly removes the base location\r