Added count, count_related, and tests
[dbsrgits/DBIx-Class.git] / t / 01core.t
index 692c6cb..7a80931 100644 (file)
@@ -1,6 +1,6 @@
 use Test::More;
 
-plan tests => 19;
+plan tests => 20;
 
 use lib qw(t/lib);
 
@@ -73,3 +73,5 @@ $new->update;
 $new_again = DBICTest::Artist->retrieve(4);
 
 is($new_again->name, 'Man With A Spoon', 'Retrieved correctly');
+
+is(DBICTest::Artist->count, 4, 'count ok');