added datetime inflation to the cookbook.
[catagits/Catalyst-Runtime.git] / t / 12default.t
index 18d9884..d7cc040 100644 (file)
@@ -23,5 +23,5 @@ package main;
 use Test::More tests => 2;
 use Catalyst::Test 'TestApp';
 
-ok( get('/foo')         =~ /bar/ );
-ok( get('/foo_bar/foo') =~ /yada/ );
+like( get('/foo')         , qr/bar/ );
+like( get('/foo_bar/foo') , qr/yada/ );