Trying to unfuck this branch
[catagits/Catalyst-Runtime.git] / trunk / t / dead_load_multiple_chained_attributes.t
diff --git a/trunk/t/dead_load_multiple_chained_attributes.t b/trunk/t/dead_load_multiple_chained_attributes.t
deleted file mode 100644 (file)
index b870a75..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-#!perl
-
-use strict;
-use warnings;
-use lib 't/lib';
-
-use Test::More;
-
-plan tests => 4;
-
-use Catalyst::Test 'TestApp';
-
-eval q{
-    package TestApp::Controller::Action::Chained;
-    sub should_fail : Chained('/') Chained('foo') Args(0) {}
-};
-ok(!$@);
-
-eval { TestApp->setup_actions; };
-ok($@, 'Multiple chained attributes make action setup fail');
-
-eval q{
-    package TestApp::Controller::Action::Chained;
-    no warnings 'redefine';
-    sub should_fail {}
-};
-ok(!$@);
-
-eval { TestApp->setup_actions };
-ok(!$@, 'And ok again') or warn $@;
-