[BACK]Return to dudelicious.t CVS log [TXT][DIR] Up to [local] / todotxt / Text-Todo / t

Annotation of todotxt/Text-Todo/t/dudelicious.t, Revision 1.2

1.1       andrew      1: use Test::More tests => 3;
                      2:
                      3: BEGIN {
                      4:        eval "use Test::Mojo";
                      5:        plan skip_all => "Test::Mojo required for testing dudelicious" if $@;
                      6:
                      7:        use lib 'bin';
1.2     ! andrew      8:        require 'dudelicious.pl';
1.1       andrew      9:        Dudelicious->import;
                     10: }
                     11:
                     12: my $app = Dudelicious::app;
                     13: $app->log->level('error');
                     14:
                     15: my $t = Test::Mojo->new;
                     16:
                     17: # Index page
                     18: $t->get_ok('/')->status_is(200)->content_like(qr/Funky/);

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>