From 2ccbdf4e19b46eaeee5703aa2a5efbec6976c999 Mon Sep 17 00:00:00 2001 From: Doug Bell Date: Wed, 28 Jul 2010 16:25:33 -0500 Subject: [PATCH] fix %INC jiggery-pokery --- t/Asset/dispatch.t | 4 +++- t/Content/Asset.t | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/t/Asset/dispatch.t b/t/Asset/dispatch.t index 410583364..cfccc6e16 100644 --- a/t/Asset/dispatch.t +++ b/t/Asset/dispatch.t @@ -24,7 +24,9 @@ use WebGUI::Session; # Init my $session = WebGUI::Test->session; -$INC{'WebGUI::Asset::TestDispatch'} = __FILE__; +BEGIN { + $INC{'WebGUI/Asset/TestDispatch.pm'} = __FILE__; +} package WebGUI::Asset::TestDispatch; diff --git a/t/Content/Asset.t b/t/Content/Asset.t index 934aa9dcd..02dfbe06e 100644 --- a/t/Content/Asset.t +++ b/t/Content/Asset.t @@ -25,8 +25,10 @@ use WebGUI::Session; # Init my $session = WebGUI::Test->session; -$INC{'WebGUI::Asset::TestDispatch'} = __FILE__; -$INC{'WebGUI::Asset::TestDecline'} = __FILE__; +BEGIN { + $INC{'WebGUI/Asset/TestDispatch.pm'} = __FILE__; + $INC{'WebGUI/Asset/TestDecline.pm'} = __FILE__; +} package WebGUI::Asset::TestDispatch;