aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/index.t
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2011-04-12 15:13:59 +0100
committerEdmund von der Burg <evdb@mysociety.org>2011-04-12 15:13:59 +0100
commit7f6e0a5fef9d072135cb08b710e9dc6d06d6cac7 (patch)
treee825f20f0a8f5ba198458af6adc4fffa4944143b /t/app/controller/index.t
parenta38d76783ee9a44b9e237a87d086549677d3282e (diff)
Create Around controller and implement the easy bits
Diffstat (limited to 't/app/controller/index.t')
-rw-r--r--t/app/controller/index.t7
1 files changed, 3 insertions, 4 deletions
diff --git a/t/app/controller/index.t b/t/app/controller/index.t
index 91f01c943..11c59d289 100644
--- a/t/app/controller/index.t
+++ b/t/app/controller/index.t
@@ -21,10 +21,9 @@ subtest "check that the form goes to /around" => sub {
};
subtest "check that requests with pc, x,y or lat,lon go to /around" => sub {
- foreach my $test (
- { pc => 'SW1A 1AA', },
- { x => 3281, y => 1113, },
- { lat => 51.50100, lon => -0.14158, },
+ foreach my $test ( #
+ { pc => 'SW1A 1AA' }, #
+ { lat => 51.50100, lon => -0.14158 },
)
{
my $uri = URI->new('http://localhost/');