aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/report_new.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-02-20 19:13:05 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-02-20 19:13:05 +0000
commitc13987e5cde7b3c3239a03fc1d5932b9b320cea1 (patch)
tree4da3eca6e9b0052293d9c1103cdcfa8a09c6f6dd /t/app/controller/report_new.t
parent9ce6e383640811b9b51ffe7a46c1b5dfac66e14c (diff)
Fix tests.
Diffstat (limited to 't/app/controller/report_new.t')
-rw-r--r--t/app/controller/report_new.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/report_new.t b/t/app/controller/report_new.t
index 868977953..722c3c39c 100644
--- a/t/app/controller/report_new.t
+++ b/t/app/controller/report_new.t
@@ -17,7 +17,7 @@ ok -e $sample_file, "sample file $sample_file exists";
subtest "test that bare requests to /report/new get redirected" => sub {
$mech->get_ok('/report/new');
- is $mech->uri->path, '/around', "went to /around";
+ is $mech->uri->path, '/', "went to /";
is_deeply { $mech->uri->query_form }, {}, "query empty";
$mech->get_ok('/report/new?pc=SW1A%201AA');