summaryrefslogtreecommitdiff
path: root/t/10_mx_net_api_test.t
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2009-12-20 15:52:22 +0100
committerfranck cuny <franck@lumberjaph.net>2009-12-20 15:52:22 +0100
commitabcc81f7501ac86b528aa5cdabcea26a0049cc27 (patch)
tree1d78c0cb23713aefd655489f18bfb060f1b2ad05 /t/10_mx_net_api_test.t
parentremove and update some tests (diff)
downloadnet-http-api-abcc81f7501ac86b528aa5cdabcea26a0049cc27.tar.gz
remove and update some tests
Diffstat (limited to 't/10_mx_net_api_test.t')
-rw-r--r--t/10_mx_net_api_test.t43
1 files changed, 0 insertions, 43 deletions
diff --git a/t/10_mx_net_api_test.t b/t/10_mx_net_api_test.t
deleted file mode 100644
index 96bf2be..0000000
--- a/t/10_mx_net_api_test.t
+++ /dev/null
@@ -1,43 +0,0 @@
-use strict;
-use warnings;
-use Test::More;
-
-BEGIN {
- plan skip_all => 'requires Catalyst::Action::REST'
- unless eval { require Catalyst::Action::REST };
-}
-
-{
-
- package catalysttestapi;
- use Moose;
- use MooseX::Net::API::Test;
-
- test_api_declare 'TestAPI' => (
- catalyst => 1,
- catalyst_app_name => 'TestApp'
- );
-
- test_api_method foo => (
- tests => {
- simple => [
- {
- # pouvoir surcharger
- test => 'is_deeply',
- expected => { status => 1 }
- },
- 'ok',
- ]
- }
- );
-}
-
-#content_like => [ { expected => qr/status: 1/ }, ],
-#action_ok => [],
-#action_redirect => [],
-#action_notfound => [],
-#contenttype_is => [],
-
-catalysttestapi->run();
-
-done_testing;