Skip to content

Commit

Permalink
mention absolute URLs too
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Aug 25, 2015
1 parent de1b1a5 commit cf0861d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

6.18 2015-08-23
6.18 2015-08-25

6.17 2015-08-21
- Improved slurp method in Mojo::Asset::File to only use one file descriptor.
Expand Down
8 changes: 8 additions & 0 deletions lib/Test/Mojo.pm
Expand Up @@ -626,6 +626,7 @@ Opposite of L</"content_like">.
=head2 delete_ok
$t = $t->delete_ok('http://example.com/foo');
$t = $t->delete_ok('/foo');
$t = $t->delete_ok('/foo' => {Accept => '*/*'} => 'Hi!');
$t = $t->delete_ok('/foo' => {Accept => '*/*'} => form => {a => 'b'});
Expand Down Expand Up @@ -681,6 +682,7 @@ Wait for WebSocket connection to be closed gracefully and check status.
=head2 get_ok
$t = $t->get_ok('http://example.com/foo');
$t = $t->get_ok('/foo');
$t = $t->get_ok('/foo' => {Accept => '*/*'} => 'Hi!');
$t = $t->get_ok('/foo' => {Accept => '*/*'} => form => {a => 'b'});
Expand All @@ -703,6 +705,7 @@ arguments as L<Mojo::UserAgent/"get">, except for the callback.
=head2 head_ok
$t = $t->head_ok('http://example.com/foo');
$t = $t->head_ok('/foo');
$t = $t->head_ok('/foo' => {Accept => '*/*'} => 'Hi!');
$t = $t->head_ok('/foo' => {Accept => '*/*'} => form => {a => 'b'});
Expand Down Expand Up @@ -878,6 +881,7 @@ Construct a new L<Test::Mojo> object.
=head2 options_ok
$t = $t->options_ok('http://example.com/foo');
$t = $t->options_ok('/foo');
$t = $t->options_ok('/foo' => {Accept => '*/*'} => 'Hi!');
$t = $t->options_ok('/foo' => {Accept => '*/*'} => form => {a => 'b'});
Expand All @@ -898,6 +902,7 @@ Invoke callback if the value of L</"success"> is false.
=head2 patch_ok
$t = $t->patch_ok('http://example.com/foo');
$t = $t->patch_ok('/foo');
$t = $t->patch_ok('/foo' => {Accept => '*/*'} => 'Hi!');
$t = $t->patch_ok('/foo' => {Accept => '*/*'} => form => {a => 'b'});
Expand All @@ -908,6 +913,7 @@ arguments as L<Mojo::UserAgent/"patch">, except for the callback.
=head2 post_ok
$t = $t->post_ok('http://example.com/foo');
$t = $t->post_ok('/foo');
$t = $t->post_ok('/foo' => {Accept => '*/*'} => 'Hi!');
$t = $t->post_ok('/foo' => {Accept => '*/*'} => form => {a => 'b'});
Expand All @@ -927,6 +933,7 @@ arguments as L<Mojo::UserAgent/"post">, except for the callback.
=head2 put_ok
$t = $t->put_ok('http://example.com/foo');
$t = $t->put_ok('/foo');
$t = $t->put_ok('/foo' => {Accept => '*/*'} => 'Hi!');
$t = $t->put_ok('/foo' => {Accept => '*/*'} => form => {a => 'b'});
Expand Down Expand Up @@ -1025,6 +1032,7 @@ Opposite of L</"text_like">.
=head2 websocket_ok
$t = $t->websocket_ok('http://example.com/echo');
$t = $t->websocket_ok('/echo');
$t = $t->websocket_ok('/echo' => {DNT => 1} => ['v1.proto']);
Expand Down

0 comments on commit cf0861d

Please sign in to comment.