Don't assume the app gets loaded before the first request
Florian Ragwitz [Sun, 27 Mar 2011 12:36:33 +0000 (13:36 +0100)]
t/psgi_file_testapp.t

index b13464f..09fae0e 100644 (file)
@@ -26,8 +26,8 @@ BEGIN {
 }
 use Catalyst::Test qw/ TestApp /;
 
-ok $main::have_loaded_psgi;
 ok request('/');
+ok $main::have_loaded_psgi;
 
 done_testing;