5 use Test::More tests => 5;
6 use Data::Dump qw(dump);
9 use_ok 'MojoX::Gearman';
11 my $g = new_ok 'MojoX::Gearman';
13 ok( my $echo = $g->req( 16, "foobar" ), 'ECHO' );
14 cmp_ok $echo, 'eq', "foobar";
16 ok( my $ping = $g->req( 7, 'ping', '', 'bla' ), 'SUBMIT_JOB' );