aboutsummaryrefslogtreecommitdiffstats
path: root/t/controller_Api.t
diff options
context:
space:
mode:
Diffstat (limited to 't/controller_Api.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();