aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mageia.org>2010-10-19 22:50:58 +0000
committerOlivier Thauvin <nanardon@mageia.org>2010-10-19 22:50:58 +0000
commit5972196ee5ac7deb2291814bd1c278ce69e4b32a (patch)
tree0e48bb471d3b7ee99b21e6ad823f8dc347b2a9e8 /t
parent9fa18a22880f52192667c9df42d37bd75d11f1f4 (diff)
downloadmgamirrors-5972196ee5ac7deb2291814bd1c278ce69e4b32a.tar
mgamirrors-5972196ee5ac7deb2291814bd1c278ce69e4b32a.tar.gz
mgamirrors-5972196ee5ac7deb2291814bd1c278ce69e4b32a.tar.bz2
mgamirrors-5972196ee5ac7deb2291814bd1c278ce69e4b32a.tar.xz
mgamirrors-5972196ee5ac7deb2291814bd1c278ce69e4b32a.zip
- ask confirm by mail on host information update to avoid spam
Diffstat (limited to 't')
-rw-r--r--t/controller_Validate.t9
1 files changed, 9 insertions, 0 deletions
diff --git a/t/controller_Validate.t b/t/controller_Validate.t
new file mode 100644
index 0000000..eb9b7df
--- /dev/null
+++ b/t/controller_Validate.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::Validate' }
+
+ok( request('/validate')->is_success, 'Request should succeed' );
+done_testing();