recommends => {
'Data::UUID' => 0,
'Module::Find' => 0,
+ 'Class::Inspector' => 0,
},
create_makefile_pl => 'passthrough',
create_readme => 1,
Revision history for DBIx::Class
-0.05001 2006-02-06 15:28:10
+0.05002 2006-02-06 12:12:03
+ - Added recommends for Class::Inspector
+ - Added skip_all to t/40resultsetmanager.t if no Class::Inspector available
+
+0.05001 2006-02-05 15:28:10
- debug output now prints NULL for undef params
- multi-step prefetch along the same rel (e.g. for trees) now works
- added multi-join (join => [ 'foo', 'foo' ]), aliases second to foo_2
use lib qw(t/lib);
use DBICTest::Extra;
-plan tests => 4;
+BEGIN {
+ eval "use Class::Inspector";
+ plan $@
+ ? ( skip_all => 'needs Class:Inspector for testing' )
+ : ( tests => 4 );
+}
my $schema = DBICTest::Extra->compose_connection('DB', 'foo');
my $rs = $schema->resultset('Foo');
ok( !DB::Foo->can('bar'), 'Foo class does not have bar method' );
ok( $rs->can('bar'), 'Foo resultset class has bar method' );
isa_ok( $rs, 'DBICTest::Extra::Foo::_resultset', 'Foo resultset class is correct' );
-is( $rs->bar, 'good', 'bar method works' );
\ No newline at end of file
+is( $rs->bar, 'good', 'bar method works' );