Skip to content

Commit

Permalink
link to both types of transaction objects
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Nov 25, 2014
1 parent 1d89d3c commit 650220d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Test/Mojo.pm
Expand Up @@ -471,7 +471,8 @@ True if the last test was successful.
my $tx = $t->tx;
$t = $t->tx(Mojo::Transaction::HTTP->new);
Current transaction, usually a L<Mojo::Transaction::HTTP> object.
Current transaction, usually a L<Mojo::Transaction::HTTP> or
L<Mojo::Transaction::WebSocket> object.
# More specific tests
is $t->tx->res->json->{foo}, 'bar', 'right value';
Expand Down

0 comments on commit 650220d

Please sign in to comment.