Permalink
Browse files

tests for admin controller

  • Loading branch information...
1 parent 38bbf77 commit 48ede5db7443db1c77d6fdad1cfcb49ea5d39d99 @garu garu committed Dec 23, 2010
Showing with 9 additions and 0 deletions.
  1. +9 −0 t/controller_Admin.t
View
9 t/controller_Admin.t
@@ -0,0 +1,9 @@
+use strict;
+use warnings;
+use Test::More;
+
+BEGIN { use_ok 'Catalyst::Test', 'perlgamedev' }
+BEGIN { use_ok 'perlgamedev::Controller::Admin' }
+
+ok( request('/admin')->is_success, 'Request should succeed' );
+done_testing();

0 comments on commit 48ede5d

Please sign in to comment.