diff options
author | Olivier Thauvin <nanardon@mageia.org> | 2010-11-05 20:33:33 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mageia.org> | 2010-11-05 20:33:33 +0000 |
commit | f81b033210bf91cd464e88417a759dc7a06275fb (patch) | |
tree | 45d758327c327e832d02e14b6768cd28536b5fb1 /t | |
parent | b6a1e038f23f29127bfc97589b5663cebf4dcd76 (diff) | |
download | mgamirrors-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.t | 9 |
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(); |