aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/alert.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-09-06 16:10:42 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-09-06 16:10:42 +0100
commit6af6bbcd3d700c35d525dda9313ce4c1fc6f9b0b (patch)
tree703aa1e7472cf2ac4c3be653267ad7f74f66763b /t/app/controller/alert.t
parent5dcd423da867a2139016e17791c2729cdd649b07 (diff)
parentedf8456ea8a94687b766915237269b1048417cd3 (diff)
Merge branch '866-alerts-ux-simpler'
Diffstat (limited to 't/app/controller/alert.t')
-rw-r--r--t/app/controller/alert.t6
1 files changed, 4 insertions, 2 deletions
diff --git a/t/app/controller/alert.t b/t/app/controller/alert.t
index 3ae71b7c1..4aa2fdf7d 100644
--- a/t/app/controller/alert.t
+++ b/t/app/controller/alert.t
@@ -24,7 +24,7 @@ FixMyStreet::override_config {
$mech->get_ok('/alert/list?pc=EH1 1BB');
$mech->title_like(qr/^Local RSS feeds and email alerts/);
- $mech->content_contains('Here are the types of local problem alerts for &lsquo;EH1&nbsp;1BB&rsquo;');
+ $mech->content_contains('Local RSS feeds and email alerts for ‘EH1 1BB’');
$mech->content_contains('html class="no-js" lang="en-gb"');
$mech->content_contains('Problems within 10.0km');
$mech->content_contains('rss/pc/EH11BB/2');
@@ -47,8 +47,10 @@ FixMyStreet::override_config {
$mech->get_ok('/alert/list?pc=');
$mech->content_contains('To find out what local alerts we have for you');
+ # Two-tier council
$mech->get_ok('/alert/list?pc=GL502PR');
- $mech->content_contains('Problems within the boundary of');
+ $mech->content_contains('Problems in an area');
+ $mech->content_contains('Reports by destination');
$mech->get_ok('/alert/subscribe?rss=1&type=local&pc=ky16+8yg&rss=Give+me+an+RSS+feed&rznvy=' );
$mech->content_contains('Please select the feed you want');