From: Tomas Doran Date: Tue, 9 Feb 2010 04:35:58 +0000 (+0000) Subject: Fix tests X-Git-Tag: 0.04~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0f4510ea6d104e537dadc50133f751899cc50a0e;p=gitmo%2FMooseX-MetaDescription.git Fix tests --- diff --git a/Changes b/Changes index f9a2738..07ea4a9 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,9 @@ Revision history for Perl extension MooseX::MetaDescription +0.04 + * Fix tests to work without undocumented features which + aren't present in the latest refactor of attributes in roles. + 0.03 * MooseX::MetaDescription::Meta::Trait - added the prepare_traits_for_application method diff --git a/t/002_custom_description.t b/t/002_custom_description.t index ad7fec5..ada2272 100644 --- a/t/002_custom_description.t +++ b/t/002_custom_description.t @@ -25,18 +25,19 @@ BEGIN { with 'MooseX::MetaDescription::Meta::Trait'; - has '+metadescription_classname' => ( - default => 'Foo::Description' + has 'metadescription_classname' => ( + default => 'Foo::Description', + is => 'ro', ); package Foo::MetaDescription::Attribute; use Moose; extends 'MooseX::MetaDescription::Meta::Attribute'; - with 'Foo::MetaDescription::Trait'; - has '+metadescription_classname' => ( - default => 'Foo::Description' + has 'metadescription_classname' => ( + default => 'Foo::Description', + is => 'ro', ); }