Skip to content

Commit

Permalink
Added a basic test
Browse files Browse the repository at this point in the history
("The longest journey starts with a single step" and all that!)
  • Loading branch information
davorg committed Feb 16, 2017
1 parent ceb50f3 commit 60c6b14
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions t/00-basic.t
@@ -0,0 +1,12 @@
use Test::More;
use Test::Exception;

BEGIN {
use_ok('WebService::Hive');
}

throws_ok { my $hive = WebService::Hive->new }
qr/Attribute .+ is required/,
'Username and password are required';

done_testing;

0 comments on commit 60c6b14

Please sign in to comment.