fix %INC jiggery-pokery

This commit is contained in:
Doug Bell 2010-07-28 16:25:33 -05:00 committed by Colin Kuskie
parent 00b41fb2a0
commit 2ccbdf4e19
2 changed files with 7 additions and 3 deletions

View file

@ -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;

View file

@ -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;