aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/alert.t
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-05-04 13:49:43 +0100
committerStruan Donald <struan@exo.org.uk>2011-05-04 13:49:43 +0100
commitfb8ddac45d81e40daee88aab963ac09423762e76 (patch)
tree30d7d18689e9e68a2788363bf6a8508cc5b922ac /t/app/controller/alert.t
parent82d106ed1115f4bdfe7a19ddafdd68e38fc0cbe6 (diff)
Skeleton catalyst alerts page
Diffstat (limited to 't/app/controller/alert.t')
-rw-r--r--t/app/controller/alert.t16
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();