From 5fdee9e79b5b6a72522bee59e4bd7c62506a43c7 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Fri, 16 Jul 2010 16:12:32 +0200 Subject: remove tests and old lib; use base net::http::api; DEPRECATED --- t/02_error.t | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 t/02_error.t (limited to 't/02_error.t') 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; -- cgit v1.2.3