Adding the files you need for the tests you've committed helps them pass, idiot :)
Tomas Doran [Sat, 28 Nov 2009 12:38:12 +0000 (12:38 +0000)]
t/lib/Catalyst/Script/CompileTest.pm [new file with mode: 0644]
t/lib/ScriptTestApp/Script/CompileTest.pm [new file with mode: 0644]

diff --git a/t/lib/Catalyst/Script/CompileTest.pm b/t/lib/Catalyst/Script/CompileTest.pm
new file mode 100644 (file)
index 0000000..df81247
--- /dev/null
@@ -0,0 +1,16 @@
+package Catalyst::Script::CompileTest;
+use Moose;
+use namespace::autoclean;
+
+use Test::More;
+
+with 'Catalyst::ScriptRole';
+
+sub run { __PACKAGE__ }
+
+after new_with_options => sub {
+    my ($self, %args) = @_;
+    is_deeply \%args, { application_name => 'ScriptTestApp' }, 'App name correct';
+};
+
+1;
diff --git a/t/lib/ScriptTestApp/Script/CompileTest.pm b/t/lib/ScriptTestApp/Script/CompileTest.pm
new file mode 100644 (file)
index 0000000..5d4b89c
--- /dev/null
@@ -0,0 +1,7 @@
+package ScriptTestApp::Script::CompileTest;
+use Moose;
+use namespace::autoclean;
+
+die("Does not compile");
+
+1;