diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-07-16 16:10:50 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-07-16 16:10:50 +0200 |
| commit | 5b31a98ed109e378ce0e5920d716d47c7d6dca9c (patch) | |
| tree | f1c0384005bd5e33ba0435512547ddc9cb8fc4a6 /t/04_apimethod.t | |
| parent | rename from mx::net::api to net::http::api (diff) | |
| download | net-http-api-5b31a98ed109e378ce0e5920d716d47c7d6dca9c.tar.gz | |
rename from mx::net::api to net::http::api
Diffstat (limited to '')
| -rw-r--r-- | t/04_apimethod.t | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/t/04_apimethod.t b/t/04_apimethod.t index cac2715..513c84a 100644 --- a/t/04_apimethod.t +++ b/t/04_apimethod.t @@ -2,10 +2,10 @@ use strict; use warnings; use Test::More; use Test::Exception; -use MooseX::Net::API::Meta::Method; +use Net::HTTP::API::Meta::Method; dies_ok { - MooseX::Net::API::Meta::Method->wrap( + Net::HTTP::API::Meta::Method->wrap( name => 'test_method', package_name => 'test::api', body => sub {1}, @@ -13,7 +13,7 @@ dies_ok { } "missing some params"; -ok my $method = MooseX::Net::API::Meta::Method->wrap( +ok my $method = Net::HTTP::API::Meta::Method->wrap( name => 'test_method', package_name => 'test::api', body => sub {1}, @@ -24,7 +24,7 @@ ok my $method = MooseX::Net::API::Meta::Method->wrap( is $method->method, 'GET', 'method is GET'; -ok $method = MooseX::Net::API::Meta::Method->wrap( +ok $method = Net::HTTP::API::Meta::Method->wrap( name => 'test_method', package_name => 'test::api', method => 'GET', |
