summaryrefslogtreecommitdiff
path: root/t/01_basic.t
blob: 64983c16181859e254551a0260386c4fbfc31d56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
use strict;
use warnings;
use Test::More;

use Net::HTTP::API::Spec;

ok my $client = Net::HTTP::API::Spec->new_from_spec('t/spec/test1.json');

my @methods = $client->meta->get_all_net_api_methods();
is scalar @methods, 2;

done_testing;