From a9ade04230fc99e5d12e7bd1af1e2dd31907d15a Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Sat, 2 Oct 2010 13:31:35 +0000 Subject: - handle distributions, protocol andothers things --- t/controller_Distrib.t | 9 +++++++++ t/controller_Mirrors.t | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 t/controller_Distrib.t create mode 100644 t/controller_Mirrors.t (limited to 't') diff --git a/t/controller_Distrib.t b/t/controller_Distrib.t new file mode 100644 index 0000000..d1efc3c --- /dev/null +++ b/t/controller_Distrib.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::Distrib' } + +ok( request('/distrib')->is_success, 'Request should succeed' ); +done_testing(); diff --git a/t/controller_Mirrors.t b/t/controller_Mirrors.t new file mode 100644 index 0000000..bfb9912 --- /dev/null +++ b/t/controller_Mirrors.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::Mirrors' } + +ok( request('/mirrors')->is_success, 'Request should succeed' ); +done_testing(); -- cgit v1.2.1