Skip to content

Commit

Permalink
added example for running tests against remote host
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 9, 2014
1 parent d894d39 commit 1a97f64
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Test/Mojo.pm
Expand Up @@ -609,6 +609,9 @@ Wait for WebSocket connection to be closed gracefully and check status.
Perform a GET request and check for transport errors, takes the same
arguments as L<Mojo::UserAgent/"get">, except for the callback.
# Run tests against remote host
$t->get_ok('http://mojolicio.us/perldoc')->status_is(200);
=head2 head_ok
$t = $t->head_ok('/foo');
Expand Down

0 comments on commit 1a97f64

Please sign in to comment.