Added exception when resultset called without an argument
[dbsrgits/DBIx-Class.git] / t / 60core.t
index c494b74..d430398 100644 (file)
@@ -452,4 +452,6 @@ SKIP: {
     }
 }
 
+throws_ok { $schema->resultset} qr/resultset\(\) expects a source name/, 'resultset with no argument throws exception';
+
 done_testing;