diff options
Diffstat (limited to 't/01-post-load.t')
-rwxr-xr-x | t/01-post-load.t | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/t/01-post-load.t b/t/01-post-load.t new file mode 100755 index 0000000..497b667 --- /dev/null +++ b/t/01-post-load.t @@ -0,0 +1,25 @@ +#!/usr/bin/env perl + +use strict; +use warnings; +use Test::More; +use Test::Exception; + +my $pkg; +BEGIN { + $pkg = 'Catmandu::Importer::PLoS'; + use_ok($pkg); +} +require_ok($pkg); + +my %attrs = ( + query => 'github' +); + +my $importer = Catmandu::Importer::PLoS->new(%attrs); + +isa_ok($importer, $pkg); + +can_ok($importer, 'each'); + +done_testing 4;
\ No newline at end of file |