From f81b033210bf91cd464e88417a759dc7a06275fb Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Fri, 5 Nov 2010 20:33:33 +0000 Subject: - add support for mirror list --- t/controller_Api.t | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 t/controller_Api.t (limited to 't/controller_Api.t') diff --git a/t/controller_Api.t b/t/controller_Api.t new file mode 100644 index 0000000..000db25 --- /dev/null +++ b/t/controller_Api.t @@ -0,0 +1,9 @@ +use strict; +use warnings; +use Test::More; + +BEGIN { use_ok 'Catalyst::Test', 'MGA::Mirrors' } +BEGIN { use_ok 'MGA::Mirrors::Controller::Api' } + +ok( request('/api')->is_success, 'Request should succeed' ); +done_testing(); -- cgit v1.2.1