Skip to content

Commit

Permalink
another state test
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Sep 1, 2012
1 parent bdc7052 commit 49f2e18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changes
Expand Up @@ -2,6 +2,7 @@
3.37 2012-09-01
- Updated jQuery to version 1.8.1.
- Improved documentation.
- Improved tests.
- Fixed small state bug in Mojo::Transaction.

3.36 2012-08-30
Expand Down
3 changes: 2 additions & 1 deletion t/mojo/user_agent.t
Expand Up @@ -6,7 +6,7 @@ BEGIN {
$ENV{MOJO_REACTOR} = 'Mojo::Reactor::Poll';
}

use Test::More tests => 111;
use Test::More tests => 112;

use Mojo::IOLoop;
use Mojo::UserAgent;
Expand Down Expand Up @@ -191,6 +191,7 @@ is $tx->res->body, 'works!', 'right content';
# GET / (events)
my $finished;
$tx = $ua->build_tx(GET => '/');
ok !$tx->is_finished, 'transaction is not finished';
$ua->once(
start => sub {
my ($self, $tx) = @_;
Expand Down

0 comments on commit 49f2e18

Please sign in to comment.