Classdata test from abraxxa
[dbsrgits/DBIx-Class.git] / t / run / 01core.tl
index a2c35b7..da0a6a3 100644 (file)
@@ -1,6 +1,6 @@
 sub run_tests {
 
-plan tests => 28; 
+plan tests => 29; 
 
 my @art = DBICTest::Artist->search({ }, { order_by => 'name DESC'});
 
@@ -112,6 +112,8 @@ eval { DBICTest::Track->load_components('DoesNotExist'); };
 
 ok $@, $@;
 
+is(DBICTest::Artist->field_name_for->{name}, 'artist name', 'mk_classdata usage ok');
+
 }
 
 1;