summaryrefslogtreecommitdiff
path: root/t/02_error.t
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-07-16 16:12:32 +0200
committerfranck cuny <franck@lumberjaph.net>2010-07-16 16:12:32 +0200
commit5fdee9e79b5b6a72522bee59e4bd7c62506a43c7 (patch)
tree9e9f16e674310d95f7c39cea92e87aaa57d67746 /t/02_error.t
parentanother fix for path (diff)
downloadmoosex-net-api-5fdee9e79b5b6a72522bee59e4bd7c62506a43c7.tar.gz
remove tests and old lib; use base net::http::api; DEPRECATED
Diffstat (limited to '')
-rw-r--r--t/02_error.t17
1 files changed, 0 insertions, 17 deletions
diff --git a/t/02_error.t b/t/02_error.t
deleted file mode 100644
index 3ab5dcc..0000000
--- a/t/02_error.t
+++ /dev/null
@@ -1,17 +0,0 @@
-use strict;
-use warnings;
-use Test::More;
-use Test::Exception;
-
-package test::api::missing_api_base_url;
-use MooseX::Net::API;
-
-net_api_method user => (method => 'GET', path => '/user/');
-
-package main;
-
-ok my $t = test::api::missing_api_base_url->new;
-dies_ok { $t->user } 'die with missing url';
-like $@, qr/'api_base_url' have not been defined/, 'missing api_base_url';
-
-done_testing;