X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Controller-DBIC-API.git;a=blobdiff_plain;f=t%2Fgeneric.t;fp=t%2Fgeneric.t;h=fa6a297588473765470d54e61153af8e4269043b;hp=0000000000000000000000000000000000000000;hb=7f3836d96f906e23f5aab8b81e8cf1cfb3912a57;hpb=35331c88359e483940f405c4199e5769fcfac7ac diff --git a/t/generic.t b/t/generic.t new file mode 100644 index 0000000..fa6a297 --- /dev/null +++ b/t/generic.t @@ -0,0 +1,11 @@ +use strict; +use warnings; +use lib 't/lib'; +use Test::More; + +{ + eval "use Catalyst::Test 'TestAppCheckHasCol'"; + like($@, qr/^Couldn't load class \(TestAppCheckHasCol\) because: Couldn't instantiate component "TestAppCheckHasCol::Controller::InvalidColumn", "Column 'foo' does not exist in ResultSet 'TestAppDB::Artist'/, 'check_has_column ok'); +} + +done_testing();