diff options
Diffstat (limited to 't')
-rw-r--r-- | t/app/controller/alert.t | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/t/app/controller/alert.t b/t/app/controller/alert.t new file mode 100644 index 000000000..77ed63ea7 --- /dev/null +++ b/t/app/controller/alert.t @@ -0,0 +1,16 @@ +use strict; +use warnings; +use Test::More; + + +use Catalyst::Test 'FixMyStreet::App'; +use Test::WWW::Mechanize::Catalyst 'FixMyStreet::App'; + +ok( my $mech = Test::WWW::Mechanize::Catalyst->new, 'Created mech object' ); + +# check that we can get the page +$mech->get_ok('/alert'); +$mech->content_contains('Local RSS feeds and email alerts'); +$mech->content_contains('html lang="en-gb"'); + +done_testing(); |