Skip to content

Commit

Permalink
better PSGI test
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 18, 2012
1 parent a00af24 commit 2812e74
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions t/mojo/psgi.t
Expand Up @@ -34,8 +34,7 @@ post '/params' => sub {
};

# Binding
my $psgi = Mojo::Server::PSGI->new;
my $app = sub { $psgi->run(@_) };
my $app = Mojo::Server::PSGI->new->to_psgi;
my $content = 'hello=world';
open my $body, '<', \$content;
my $env = {
Expand Down

0 comments on commit 2812e74

Please sign in to comment.