summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-04-16 11:00:23 -0500
committerJesse Luehrs <doy@tozt.net>2011-04-16 11:00:23 -0500
commit2dd3ec51df430da9ab7a2a484b47758b2b68d40b (patch)
treebf889dc961bb9be1b140604ef55bab4ad1e464db /t
parentbb96267f6841941a9359727640612bdd3cac22e3 (diff)
downloadbread-board-declare-2dd3ec51df430da9ab7a2a484b47758b2b68d40b.tar.gz
bread-board-declare-2dd3ec51df430da9ab7a2a484b47758b2b68d40b.zip
we want to be using fetch here
Diffstat (limited to 't')
-rw-r--r--t/01-basic.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/01-basic.t b/t/01-basic.t
index 311583d..0457bd1 100644
--- a/t/01-basic.t
+++ b/t/01-basic.t
@@ -54,9 +54,9 @@ $i = 0;
for qw(foo bar baz quux);
ok(!$foo->has_service($_), "doesn't have service $_")
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');
+ isa_ok($foo->fetch('bar'), 'Bread::Board::Declare::Literal');
+ isa_ok($foo->fetch('baz'), 'Bread::Board::Declare::ConstructorInjection');
+ isa_ok($foo->fetch('quux'), 'Bread::Board::Declare::BlockInjection');
}
{