Horris

 view release on metacpan or  search on metacpan

t/100_config_no_network.t  view on Meta::CPAN

use strict;
use lib "lib";
use Test::More (tests => 1);
use App::Horris;

local @ARGV = qw(--configfile t/100_config_no_network.conf);
my $app = App::Horris->new_with_options();

eval {
    my $horris = Horris->new({ config => $app->config });
	$horris->run;
};
like($@, qr/No network specified for connection 'test'/);



( run in 0.914 second using v1.01-cache-2.11-cpan-54e63673c56 )