diff options
Diffstat (limited to '')
-rw-r--r-- | t/01_basic.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/01_basic.t b/t/01_basic.t index bf1d999..64983c1 100644 --- a/t/01_basic.t +++ b/t/01_basic.t @@ -4,7 +4,7 @@ use Test::More; use Net::HTTP::API::Spec; -ok my $client = Net::HTTP::API::Spec->load_from_spec('t/spec/test1.json'); +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; |