diff options
author | Dave Whiteland <dave@mysociety.org> | 2012-11-11 18:25:31 +0000 |
---|---|---|
committer | Dave Whiteland <dave@mysociety.org> | 2012-11-11 18:25:31 +0000 |
commit | 8bb4435aa3caa5e0ffa9accc60f8f02640dddac0 (patch) | |
tree | b8c38473c940581ebebb3d5e377ecc8f40658d1c /t/app/controller | |
parent | f7c869a6f00378be9a43d3676b1a03c2df484ea4 (diff) | |
parent | 74c1a09a10d606d9d8850f7fb70b6e578d2c3877 (diff) |
Merge branch 'master' into boilerplate-mm-js
Diffstat (limited to 't/app/controller')
-rw-r--r-- | t/app/controller/alert.t | 2 | ||||
-rw-r--r-- | t/app/controller/alert_new.t | 2 |
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'; } }; |