From b5e1db8ff97b6cc12a1d6b99aa9a789565bb7fd4 Mon Sep 17 00:00:00 2001 From: Doug Bell Date: Wed, 28 Jul 2010 14:58:04 -0500 Subject: [PATCH] test default www_view with unhandled fragment --- t/Asset/dispatch.t | 3 +++ 1 file changed, 3 insertions(+) diff --git a/t/Asset/dispatch.t b/t/Asset/dispatch.t index b001a715d..410583364 100644 --- a/t/Asset/dispatch.t +++ b/t/Asset/dispatch.t @@ -81,4 +81,7 @@ is( $td->dispatch( '/foo' ), "bar", "overridden dispatch trumps ?func= query par # Test func= can only be run on the exact asset we requested isnt( $td->dispatch( '/bar' ), "www_edit", "?func= dispatch cancelled because of unhandled fragment" ); +$session->request->setup_body( { } ); +isnt( $td->dispatch( '/bar' ), "www_view", "?func= dispatch cancelled because of unhandled fragment" ); + #vim:ft=perl