aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-11-29 15:43:21 +0000
committerStruan Donald <struan@exo.org.uk>2011-11-29 15:43:21 +0000
commit2b39d9ad6e308880958d83c0e011bc3d627ad191 (patch)
tree81ba573a5e92cf69a49dde8d50c463040ff07942 /t/app/controller
parentd4fbdc003253456acade79af4b5e1fcdae34ce02 (diff)
sanity check that non postcodes come through
Diffstat (limited to 't/app/controller')
-rw-r--r--t/app/controller/rss.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/app/controller/rss.t b/t/app/controller/rss.t
index a820a9586..c6ab20574 100644
--- a/t/app/controller/rss.t
+++ b/t/app/controller/rss.t
@@ -113,6 +113,12 @@ $mech->get_ok("/rss/pc/EH11BB/2");
$mech->content_contains( "Testing, 10th October, EH1 1BB" );
$mech->content_contains( '18 North Bridge, Edinburgh' );
+$report->postcode('Princes St, Edinburgh');
+$report->update();
+
+$mech->get_ok("/rss/pc/EH11BB/2");
+$mech->content_contains( "Testing, 10th October, Princes St, Edinburgh" );
+
$report->delete();
$user1->delete();