aboutsummaryrefslogtreecommitdiffstats
path: root/t/app
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-05-09 12:49:18 +0100
committerStruan Donald <struan@exo.org.uk>2011-05-09 12:49:18 +0100
commitd01b9bc2e42e46d5415a5464eb2ee063f43a8464 (patch)
tree08f82140a6b568ef1a03815829b3545b34232874 /t/app
parentb1ca5c65e80f340c9e0bd6ee7bd6ab667073389b (diff)
rss feeds for single tier councils
Diffstat (limited to 't/app')
-rw-r--r--t/app/controller/alert.t9
1 files changed, 9 insertions, 0 deletions
diff --git a/t/app/controller/alert.t b/t/app/controller/alert.t
index ceb1a3554..9b10070b2 100644
--- a/t/app/controller/alert.t
+++ b/t/app/controller/alert.t
@@ -29,10 +29,19 @@ $mech->content_contains('rss/pc/EH991SP/2');
$mech->content_contains('rss/pc/EH991SP/5');
$mech->content_contains('rss/pc/EH991SP/10');
$mech->content_contains('rss/pc/EH991SP/20');
+$mech->content_contains('Problems within City of Edinburgh');
+$mech->content_contains('Problems within City Centre ward');
+$mech->content_contains('/rss/reports/City+of+Edinburgh');
+$mech->content_contains('/rss/reports/City+of+Edinburgh/City+Centre');
+$mech->content_contains('council:2651:City_of_Edinburgh');
+$mech->content_contains('ward:2651:20728:City_of_Edinburgh:City_Centre');
$mech->get_ok('/alert/list?pc=High Street');
$mech->content_contains('We found more than one match for that location');
$mech->get_ok('/alert/list?pc=');
$mech->content_contains('hat location does not appear to be covered by a council');
+
+$mech->get_ok('/alert/list?pc=GL502PR');
+$mech->content_contains('Problems within the boundary of');
done_testing();