make most http_server tests run
[catagits/Catalyst-Runtime.git] / t / optional_http-server.t
index 8219f3f..5516b66 100644 (file)
@@ -7,12 +7,14 @@ use File::Path;
 use FindBin;
 use IO::Socket;
 use Test::More;
-eval "use File::Copy::Recursive";
 
 plan skip_all => 'set TEST_HTTP to enable this test' unless $ENV{TEST_HTTP};
-plan skip_all => 'File::Copy::Recursive required' if $@;
+eval "use Catalyst::Devel 1.0";
+plan skip_all => 'Catalyst::Devel required' if $@;
 plan tests => 1;
 
+use File::Copy::Recursive;
+
 # clean up
 rmtree "$FindBin::Bin/../t/tmp" if -d "$FindBin::Bin/../t/tmp";