Skip to content

Instantly share code, notes, and snippets.

@augensalat
Created April 28, 2015 09:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save augensalat/2cd52987fd3ab85ddb10 to your computer and use it in GitHub Desktop.
Save augensalat/2cd52987fd3ab85ddb10 to your computer and use it in GitHub Desktop.
use Mojo::Base -strict;
# Disable IPv6 and libev
BEGIN {
$ENV{MOJO_REACTOR} = 'Mojo::Reactor::Poll';
}
use Test::More;
use Mojolicious::Lite;
use Test::Mojo;
my $yatta = 'やった';
get '/' => sub {
shift->render(data => $yatta);
};
my $t = Test::Mojo->new;
$t->get_ok('/');
done_testing;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment