From: Shawn M Moore Date: Tue, 17 Jun 2008 04:17:08 +0000 (+0000) Subject: Test fixes X-Git-Tag: 0.19~291 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d1288432a09952f46e9b6ca4d5e3373fb7fea9e6;p=gitmo%2FMouse.git Test fixes --- diff --git a/t/202-squirrel-role.t b/t/202-squirrel-role.t index 618b950..402f4d1 100644 --- a/t/202-squirrel-role.t +++ b/t/202-squirrel-role.t @@ -22,7 +22,7 @@ do { # affecting its definition BEGIN { - plan skip_all => "Moose required for this test" unless eval { require Moose }; + plan skip_all => "Moose required for this test" unless eval { require Moose::Role }; plan tests => 12; } @@ -53,9 +53,9 @@ eval " has bar => (is => 'rw'); "; -isa_ok(blessed(Foo::Role->meta), 'Mouse::Meta::Role'); -isa_ok(blessed(Foo::Role->meta), 'Mouse::Meta::Role', 'Squirrel::Role is consistent if Moose was loaded between imports'); +isa_ok(Foo::Role->meta, 'Mouse::Meta::Role'); +isa_ok(Foo::Role->meta, 'Mouse::Meta::Role'); -isa_ok(blessed(Bar::Role->meta), 'Moose::Meta::Role'); -isa_ok(blessed(Bar::Role->meta), 'Moose::Meta::Role'); +isa_ok(Bar::Role->meta, 'Moose::Meta::Role'); +isa_ok(Bar::Role->meta, 'Moose::Meta::Role');