blob: bf1d999da3121dd63a96840deab06a87ce328f40 (
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->load_from_spec('t/spec/test1.json');
my @methods = $client->meta->get_all_net_api_methods();
is scalar @methods, 2;
done_testing;
|