diff options
author | Struan Donald <struan@exo.org.uk> | 2011-05-04 18:49:39 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-05-04 18:49:39 +0100 |
commit | b55733c9614b2f8ebd09d31f3c2750959942effa (patch) | |
tree | 06371db8845a49c9d5429567a8b6f1bcec287fc7 /t/app/controller/alert.t | |
parent | 2ae642787ab73073eca0af7c494e00bff946441c (diff) |
add in prettyfication of postcode
Diffstat (limited to 't/app/controller/alert.t')
-rw-r--r-- | t/app/controller/alert.t | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/t/app/controller/alert.t b/t/app/controller/alert.t index 77ed63ea7..4f5ee818c 100644 --- a/t/app/controller/alert.t +++ b/t/app/controller/alert.t @@ -13,4 +13,13 @@ $mech->get_ok('/alert'); $mech->content_contains('Local RSS feeds and email alerts'); $mech->content_contains('html lang="en-gb"'); +# check that we can get list page +$mech->get_ok('/alert/list'); +$mech->content_contains('Local RSS feeds and email alerts'); +$mech->content_contains('html lang="en-gb"'); + +$mech->get_ok('/alert/list?pc=ZZ99ZY'); +$mech->content_contains('RSS feeds and email alerts for ZZ9 9ZY'); +$mech->content_contains('html lang="en-gb"'); + done_testing(); |