aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2012-11-11 17:14:53 +0000
committerDave Whiteland <dave@mysociety.org>2012-11-11 17:14:53 +0000
commit74c1a09a10d606d9d8850f7fb70b6e578d2c3877 (patch)
tree6cd70d409d3ac7e14b1c1c5d10aa366d8546c77f /t/app/controller
parent3d2e9c254244592ddce937230cbd0e057f69e073 (diff)
parentc0e4463163d4a9b9a8be073964ef960b114c9ea0 (diff)
Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet
Diffstat (limited to 't/app/controller')
-rw-r--r--t/app/controller/alert.t2
-rw-r--r--t/app/controller/alert_new.t2
2 files changed, 2 insertions, 2 deletions
diff --git a/t/app/controller/alert.t b/t/app/controller/alert.t
index e1ebbecb6..3d95bef6d 100644
--- a/t/app/controller/alert.t
+++ b/t/app/controller/alert.t
@@ -40,7 +40,7 @@ $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->content_contains('To find out what local alerts we have for you');
$mech->get_ok('/alert/list?pc=GL502PR');
$mech->content_contains('Problems within the boundary of');
diff --git a/t/app/controller/alert_new.t b/t/app/controller/alert_new.t
index c89f37028..c849b9485 100644
--- a/t/app/controller/alert_new.t
+++ b/t/app/controller/alert_new.t
@@ -330,7 +330,7 @@ subtest "Test two-tier council alerts" => sub {
feed => $alert->{feed},
}
} );
- is $mech->uri->path, $alert->{result};
+ is $mech->uri->path, $alert->{result}, 'Redirected to right RSS feed';
}
};