--- /dev/null
+use strict;
+use Module::Build;
+
+my $build = Module::Build->new(
+ create_makefile_pl => 'traditional',
+ license => 'perl',
+ module_name => 'Catalyst::Plugin::Cache',
+ requires => {
+ 'perl' => '5.8.1',
+ 'Catalyst' => '5.7',
+ 'Storable' => 0,
+ 'Test::Deep' => 0,
+ 'Test::More' => 0,
+ 'Test::Exception' => 0,
+ 'Task::Weaken' => 0,
+ },
+ create_readme => 1,
+ sign => 1,
+);
+$build->create_build_script;
+
--- /dev/null
+# Avoid version control files.
+\bRCS\b
+\bCVS\b
+,v$
+\B\.svn\b
+
+# Avoid Makemaker generated and utility files.
+\bMakefile$
+\bblib
+\bMakeMaker-\d
+\bpm_to_blib$
+\bblibdirs$
+^MANIFEST\.SKIP$
+
+# Avoid Module::Build generated and utility files.
+\bBuild$
+\b_build
+
+# Avoid temp and backup files.
+~$
+\.tmp$
+\.old$
+\.bak$
+\#$
+\b\.#
+^..*\.sw[po]$
+
+# Hate M::B
+\bBuild.PL$
use strict;
use warnings;
+our $VERSION = "0.01";
+
use Scalar::Util ();
use Catalyst::Utils ();
use Carp ();
my $ua = Test::WWW::Mechanize::Catalyst->new;
-$ua->get_ok("/bar");
+$ua->get_ok("http://localhost/bar");
$ua->content_is("not found");
-$ua->get_ok("/foo");
+$ua->get_ok("http://localhost//foo");
-$ua->get_ok("/bar");
+$ua->get_ok("http://localhost/bar");
$ua->content_is("Foo");