From: Dave Rolsky Date: Wed, 23 Sep 2009 21:08:55 +0000 (-0500) Subject: load all relevant classes to prevent confusing "Foo does have a meta method" bail... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1338bcf1a5053338be1bc023fd52004576ee92d8;p=gitmo%2Fmoose-presentations.git load all relevant classes to prevent confusing "Foo does have a meta method" bail outs --- diff --git a/moose-class/exercises/t/04-method-modifiers.t b/moose-class/exercises/t/04-method-modifiers.t index 69e61fc..b205f5d 100644 --- a/moose-class/exercises/t/04-method-modifiers.t +++ b/moose-class/exercises/t/04-method-modifiers.t @@ -45,6 +45,8 @@ use lib 't/lib'; use MooseClass::Tests; +use Document; +use Report; use TPSReport; MooseClass::Tests::tests04(); diff --git a/moose-class/exercises/t/06-advanced-attributes.t b/moose-class/exercises/t/06-advanced-attributes.t index 5af57fd..138ef26 100644 --- a/moose-class/exercises/t/06-advanced-attributes.t +++ b/moose-class/exercises/t/06-advanced-attributes.t @@ -42,5 +42,6 @@ use MooseClass::Tests; use Person; use Employee; +use BankAccount; MooseClass::Tests::tests06();