summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-02-25 17:51:02 -0500
committerJesse Luehrs <doy@tozt.net>2014-02-25 17:51:02 -0500
commit99d163ecb71f3bf3ad90dcb63a1006752e02741b (patch)
tree95d75d2b1ba3f228ad78a8466b8787cc44138721
parentf0094a7f0863da9b5df47035aabdaf5201898369 (diff)
downloadbread-board-declare-99d163ecb71f3bf3ad90dcb63a1006752e02741b.tar.gz
bread-board-declare-99d163ecb71f3bf3ad90dcb63a1006752e02741b.zip
fix tests for new moose (fixes #4)
-rw-r--r--t/constructor-name.t1
-rw-r--r--t/infer-subclasses.t1
2 files changed, 2 insertions, 0 deletions
diff --git a/t/constructor-name.t b/t/constructor-name.t
index 5ae1258..f1daf41 100644
--- a/t/constructor-name.t
+++ b/t/constructor-name.t
@@ -6,6 +6,7 @@ use Test::Moose;
{
package Bar;
+ BEGIN { $INC{'Bar.pm'} = __FILE__ }
sub create { bless {}, shift }
}
diff --git a/t/infer-subclasses.t b/t/infer-subclasses.t
index b50b909..e01e24c 100644
--- a/t/infer-subclasses.t
+++ b/t/infer-subclasses.t
@@ -5,6 +5,7 @@ use Test::More;
{
package NonMoose;
+ BEGIN { $INC{'NonMoose.pm'} = __FILE__ }
sub new { bless { data => $_[0] }, shift }
}