aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mageia.org>2010-11-05 20:33:33 +0000
committerOlivier Thauvin <nanardon@mageia.org>2010-11-05 20:33:33 +0000
commitf81b033210bf91cd464e88417a759dc7a06275fb (patch)
tree45d758327c327e832d02e14b6768cd28536b5fb1 /t
parentb6a1e038f23f29127bfc97589b5663cebf4dcd76 (diff)
downloadmgamirrors-f81b033210bf91cd464e88417a759dc7a06275fb.tar
mgamirrors-f81b033210bf91cd464e88417a759dc7a06275fb.tar.gz
mgamirrors-f81b033210bf91cd464e88417a759dc7a06275fb.tar.bz2
mgamirrors-f81b033210bf91cd464e88417a759dc7a06275fb.tar.xz
mgamirrors-f81b033210bf91cd464e88417a759dc7a06275fb.zip
- add support for mirror list
Diffstat (limited to 't')
-rw-r--r--t/controller_Api.t9
1 files changed, 9 insertions, 0 deletions
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();