Skip to content

Commit

Permalink
fixed old post_json_ok example
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 10, 2014
1 parent 5881f9c commit af380c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Test/Mojo.pm
Expand Up @@ -796,7 +796,7 @@ arguments as L<Mojo::UserAgent/"post">, except for the callback.
->status_is(200);
# Test JSON API
$t->post_json_ok('/hello.json' => json => {hello => 'world'})
$t->post_ok('/hello.json' => json => {hello => 'world'})
->status_is(200)
->json_is({bye => 'world'});
Expand Down

0 comments on commit af380c0

Please sign in to comment.