summaryrefslogtreecommitdiff
path: root/t/04_apimethod.t
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-07-16 16:10:50 +0200
committerfranck cuny <franck@lumberjaph.net>2010-07-16 16:10:50 +0200
commit5b31a98ed109e378ce0e5920d716d47c7d6dca9c (patch)
treef1c0384005bd5e33ba0435512547ddc9cb8fc4a6 /t/04_apimethod.t
parentrename from mx::net::api to net::http::api (diff)
downloadnet-http-api-5b31a98ed109e378ce0e5920d716d47c7d6dca9c.tar.gz
rename from mx::net::api to net::http::api
Diffstat (limited to '')
-rw-r--r--t/04_apimethod.t8
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',