Some more tests
Dave Rolsky [Mon, 9 Mar 2009 21:18:39 +0000 (16:18 -0500)]
lib/Moose/Cookbook/Basics/Recipe5.pod

index 5967bf0..7b75fd7 100644 (file)
@@ -281,6 +281,14 @@ isa_ok( $r, 'Request' );
     '... the protocol died with bar params correctly';
 }
 
+{
+    $r->base('http://localhost/');
+    isa_ok( $r->base, 'URI' );
+
+    $r->uri('http://localhost/');
+    isa_ok( $r->uri, 'URI' );
+}
+
 =end testing
 
 =cut