9 eval { require Test::WWW::Mechanize::Catalyst; require Catalyst::Plugin::Session; require Catalyst::Plugin::Session::State::Cookie };
10 plan skip_all => "This test needs Test::WWW::Mechanize::Catalyst, Catalyst::Plugin::Session and Catalyst::Plugin::Session::State::Cookie installed" if $@;
15 use Test::WWW::Mechanize::Catalyst qw/AuthSessionTestApp/; # for the cookie support
17 my $m = Test::WWW::Mechanize::Catalyst->new;
19 $m->get_ok("http://localhost/moose", "get ok");
20 $m->get_ok("http://localhost/elk", "get ok");
21 $m->get_ok("http://localhost/fluffy_bunny", "get ok");