From 0df179c5148557fe163665f8d48701ec2fcc87d8 Mon Sep 17 00:00:00 2001 From: danielgrippi <danielgrippi@gmail.com> Date: Mon, 27 Feb 2012 17:56:52 -0800 Subject: [PATCH] fix specs --- spec/lib/hydra_wrapper_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/lib/hydra_wrapper_spec.rb b/spec/lib/hydra_wrapper_spec.rb index 1218642e30..97549d8125 100644 --- a/spec/lib/hydra_wrapper_spec.rb +++ b/spec/lib/hydra_wrapper_spec.rb @@ -31,13 +31,13 @@ describe HydraWrapper do end end - describe '#salmon' do + describe '#xml_factory' do it 'calls the salmon method on the dispatcher class (and memoizes)' do Base64.stub(:decode64).and_return(@wrapper.encoded_object_xml + 'decoded') decoded = Base64.decode64(@wrapper.encoded_object_xml) @wrapper.dispatcher_class.should_receive(:salmon).with(@wrapper.user, decoded).once.and_return(true) - @wrapper.salmon - @wrapper.salmon + @wrapper.xml_factory + @wrapper.xml_factory end end -- GitLab