aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2011-04-15 17:40:07 +0100
committerEdmund von der Burg <evdb@mysociety.org>2011-04-15 17:40:07 +0100
commit898d7c6f5f4c38ca2dd19df5c8a80ee222820130 (patch)
tree453aff56c92897564d6a4f6af8da7d23ba81b2f1 /t/app/controller
parentbd8134a37058a5d8e562bc04bfec16fdb4a19446 (diff)
rename 404 error to be clearer
Diffstat (limited to 't/app/controller')
-rw-r--r--t/app/controller/page_not_found.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/page_not_found.t b/t/app/controller/page_not_found.t
index 9c8d7e5a6..05e983109 100644
--- a/t/app/controller/page_not_found.t
+++ b/t/app/controller/page_not_found.t
@@ -13,7 +13,7 @@ my $mech = Test::WWW::Mechanize::Catalyst->new;
$mech->get_ok('/');
# get 404 page
-my $path_to_404 = '/bad/path/page_not_found';
+my $path_to_404 = '/bad/path/page_error_404_not_found';
my $res = $mech->get($path_to_404);
ok !$res->is_success(), "want a bad response";
is $res->code, 404, "got 404";