}
my $view = DBIx::Class::ResultSource::View->new( { name => 'Upsilon' } );
+
isa_ok( $view, 'DBIx::Class::ResultSource' );
isa_ok( $view, 'DBIx::Class' );
can_ok( $view, $_ ) for qw/new from depends_on/;
-diag( map {"$_\n"} @{ mro::get_linear_isa($view) } );
+#diag( map {"$_\n"} @{ mro::get_linear_isa($view) } );
#diag( DwarnS $view);
my $schema = ViewDeps->connect;
-ok($schema);
+ok($schema, 'Connected to ViewDeps schema OK');
#diag(DwarnS $schema);
-#diag(DwarnS $schema->resultset('Bar')->result_source->depends_on);
-diag keys %{$schema->resultset('Bar')->result_source->depends_on};
+#diag keys %{$schema->resultset('Bar')->result_source->depends_on};
+
my @dependencies = keys %{$schema->resultset('Bar')->result_source->depends_on};
-is($dependencies[0], 'mixin');
+
+is($dependencies[0], 'mixin', 'Bar is indeed reported to depend on mixin');
done_testing;