summaryrefslogtreecommitdiffstats
path: root/t/01-basic.t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-03-02 22:28:34 -0600
committerJesse Luehrs <doy@tozt.net>2011-03-02 22:35:01 -0600
commit565afc7a56c520e8bf20dd8415d72481e861ed31 (patch)
tree3a31738c0f0dbe8bc4f2447102d30430269fc4ca /t/01-basic.t
parent2b95f03cda1e9f719624e253a8ed24a2aac5a143 (diff)
downloadbread-board-declare-565afc7a56c520e8bf20dd8415d72481e861ed31.tar.gz
bread-board-declare-565afc7a56c520e8bf20dd8415d72481e861ed31.zip
more useful handling of attributes with no services defined
Diffstat (limited to 't/01-basic.t')
-rw-r--r--t/01-basic.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/01-basic.t b/t/01-basic.t
index e978101..311583d 100644
--- a/t/01-basic.t
+++ b/t/01-basic.t
@@ -51,9 +51,9 @@ $i = 0;
my $foo = Foo->new;
isa_ok($foo, 'Bread::Board::Container');
ok($foo->has_service($_), "has service $_")
- for qw(bar baz quux);
+ for qw(foo bar baz quux);
ok(!$foo->has_service($_), "doesn't have service $_")
- for qw(foo baz2);
+ for qw(baz2);
isa_ok($foo->get_service('bar'), 'Bread::Board::Declare::Literal');
isa_ok($foo->get_service('baz'), 'Bread::Board::Declare::ConstructorInjection');
isa_ok($foo->get_service('quux'), 'Bread::Board::Declare::BlockInjection');