diff options
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(); |