Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (10 sloc) 285 Bytes
use Modern::Perl;
use Test::More;
use Test::Mojo;
use Schema;
use Test::Database;
my $schema = Test::Database->new->create(Schema => 'test.db');
my $t = Test::Mojo->new('MojoFull');
$t->app->schema($schema);
$t->get_ok('/')->status_is(200)->text_is(h1 => 'Purpose');
done_testing;