- Revision
- 795
- Author
- mward
- Date
- 2008-08-28 07:19:56 -0500 (Thu, 28 Aug 2008)
Log Message
fixed waffle spec test (updated to use latest pico api)
Modified Paths
Diff
Modified: trunk/waffle-ruby/src/test/specs/org/codehaus/waffle/servlet/waffle_spec.rb (794 => 795)
--- trunk/waffle-ruby/src/test/specs/org/codehaus/waffle/servlet/waffle_spec.rb 2008-08-28 11:18:00 UTC (rev 794) +++ trunk/waffle-ruby/src/test/specs/org/codehaus/waffle/servlet/waffle_spec.rb 2008-08-28 12:19:56 UTC (rev 795) @@ -149,7 +149,7 @@ controller.send(:extend, Waffle::Controller) pico = mock('pico') - pico.should_receive(:getComponentInstanceOfType).with('foobar') + pico.should_receive(:getComponent).with('foobar') controller.__pico_container = pico @@ -161,7 +161,7 @@ controller.send(:extend, Waffle::Controller) pico = mock('pico') - pico.should_receive(:getComponentInstance).with('foobar') + pico.should_receive(:getComponent).with('foobar') controller.__pico_container = pico controller.locate('foobar') @@ -172,7 +172,7 @@ controller.send(:extend, Waffle::Controller) pico = mock('pico') - pico.should_receive(:getComponentInstance).with('foobar').and_return("the component") + pico.should_receive(:getComponent).with('foobar').and_return("the component") controller.__pico_container = pico controller.locate_foobar.should == "the component"
To unsubscribe from this list please visit:
