Permalink
Browse files

Plack::Request 警告されるので params -> parameters

  • Loading branch information...
1 parent 1544454 commit 9720644e773c4237ecd421dfb4f85007b4c9b862 @fujiwara fujiwara committed Aug 30, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 t/plugin_unicode.t
View
@@ -17,10 +17,10 @@ use Test::Base;
my $test = 'テスト';
Test::More::ok( utf8::is_utf8($test), 'utf8 flag automatically on by Ark' );
- Test::More::ok(utf8::is_utf8( $c->req->params->{foo} ), 'request is utf8');
- Test::More::is($c->req->params->{foo}, $test, 'request ok');
+ Test::More::ok(utf8::is_utf8( $c->req->parameters->{foo} ), 'request is utf8');
+ Test::More::is($c->req->parameters->{foo}, $test, 'request ok');
- $c->res->body( $c->req->params->{foo} );
+ $c->res->body( $c->req->parameters->{foo} );
}
}

0 comments on commit 9720644

Please sign in to comment.