Add support for export-ok config option.
[catagits/Gitalist.git] / t / app-mech-rootpage.t
index cc6f71f..0bba4f4 100644 (file)
@@ -1,5 +1,12 @@
 #!/usr/bin/env perl
 use FindBin qw/$Bin/;
+BEGIN {
+    my $env = "$FindBin::Bin/../script/env";
+    if (-r $env) {
+        do $env or die $@;
+    }
+}
+
 use lib "$Bin/lib";
 use TestGitalist;
 plan 'skip_all' => "One or more of the following modules aren't present: Test::WWW::Mechanize::Catalyst WWW::Mechanize::TreeBuilder HTML::TreeBuilder::XPath" unless MECH();