Skip to content
Browse files

hmm, added a test to check whether build-in models (home) is defined …

…or not.
  • Loading branch information...
1 parent e863a21 commit 92b717697d0a82c49b5e7e5e411542eee8b3db27 @typester committed Oct 18, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 t/model_external.t
View
3 t/model_external.t
@@ -33,4 +33,5 @@ T::Models->register( foo => sub { bless { foo => 'bar' }, 'Foo' } );
is( get('/'), 'bar', 'model replacement ok' );
-
+ok( T::Models->get('home'), 'home is defined ok' );
+isa_ok( T::Models->get('home'), 'Path::Class::Dir');

0 comments on commit 92b7176

Please sign in to comment.
Something went wrong with that request. Please try again.