use Test::More;
-use strict;
-use warnings;
+use Moose;
use Catalyst::Exception;
use Catalyst::Utils;
use Class::Inspector;
-use parent qw/Exporter/;
+extends 'Exporter';
+
our @EXPORT=qw/&content_like &action_ok &action_redirect &action_notfound &contenttype_is/;
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 {