From 2b39d9ad6e308880958d83c0e011bc3d627ad191 Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Tue, 29 Nov 2011 15:43:21 +0000 Subject: sanity check that non postcodes come through --- t/app/controller/rss.t | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 't/app/controller/rss.t') 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(); -- cgit v1.2.3