From 5b31a98ed109e378ce0e5920d716d47c7d6dca9c Mon Sep 17 00:00:00 2001 From: franck cuny Date: Fri, 16 Jul 2010 16:10:50 +0200 Subject: rename from mx::net::api to net::http::api --- t/04_apimethod.t | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 't/04_apimethod.t') 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', -- cgit v1.2.3