diff options
author | Jesse Luehrs <doy@tozt.net> | 2011-04-16 11:00:23 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2011-04-16 11:00:23 -0500 |
commit | 2dd3ec51df430da9ab7a2a484b47758b2b68d40b (patch) | |
tree | bf889dc961bb9be1b140604ef55bab4ad1e464db | |
parent | bb96267f6841941a9359727640612bdd3cac22e3 (diff) | |
download | bread-board-declare-2dd3ec51df430da9ab7a2a484b47758b2b68d40b.tar.gz bread-board-declare-2dd3ec51df430da9ab7a2a484b47758b2b68d40b.zip |
we want to be using fetch here
-rw-r--r-- | t/01-basic.t | 6 |
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'); } { |