Fixed tests for new test methods
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Test.pm
index ba10ffc..7c3022a 100644 (file)
@@ -230,7 +230,7 @@ sub content_like {
     no strict 'refs';
     my $get=*{"$caller\::get"};
     my $action=shift;
-    return Test::More->builder->like(get($action),@_);
+    return Test::More->builder->like(&$get($action),@_);
 }
 
 sub action_ok {