summaryrefslogtreecommitdiffstats
path: root/t/35-no-service.t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-03-02 22:32:12 -0600
committerJesse Luehrs <doy@tozt.net>2011-03-02 22:35:04 -0600
commitf4a6e54d951725428aef71f0d81ab9f1e438d53c (patch)
tree864fa797068aabcb11864044ed869c7708ef1087 /t/35-no-service.t
parent565afc7a56c520e8bf20dd8415d72481e861ed31 (diff)
downloadbread-board-declare-f4a6e54d951725428aef71f0d81ab9f1e438d53c.tar.gz
bread-board-declare-f4a6e54d951725428aef71f0d81ab9f1e438d53c.zip
more with_immutable
Diffstat (limited to 't/35-no-service.t')
-rw-r--r--t/35-no-service.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/35-no-service.t b/t/35-no-service.t
index c6a9226..aeb4c48 100644
--- a/t/35-no-service.t
+++ b/t/35-no-service.t
@@ -3,6 +3,7 @@ use strict;
use warnings;
use Test::More;
use Test::Fatal;
+use Test::Moose;
{
package Bar;
@@ -40,6 +41,7 @@ use Test::Fatal;
);
}
+with_immutable {
{
my $foo = Foo->new;
ok($foo->has_service($_), "has service $_") for qw(foo baz);
@@ -68,5 +70,6 @@ use Test::Fatal;
"can't depend on attrs with no service"
);
}
+} 'Foo';
done_testing;