diff options
author | Struan Donald <struan@exo.org.uk> | 2011-05-04 13:49:43 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-05-04 13:49:43 +0100 |
commit | fb8ddac45d81e40daee88aab963ac09423762e76 (patch) | |
tree | 30d7d18689e9e68a2788363bf6a8508cc5b922ac /t/app/controller | |
parent | 82d106ed1115f4bdfe7a19ddafdd68e38fc0cbe6 (diff) |
Skeleton catalyst alerts page
Diffstat (limited to 't/app/controller')
-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(); |