return a string from a stub
This commit is contained in:
parent
ff796efce0
commit
22c4ebd6de
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ describe Postzord::Dispatch do
|
|||
it 'calls salmon_for each remote person' do
|
||||
salmon = @mailman.salmon
|
||||
Salmon::SalmonSlap.stub(:create).and_return(salmon)
|
||||
salmon.should_receive(:xml_for).with(@user.person).times
|
||||
salmon.should_receive(:xml_for).with(@user.person).and_return('what')
|
||||
@hydra.stub!(:queue)
|
||||
@hydra.stub!(:run)
|
||||
fantasy_resque do
|
||||
|
|
|
|||
Loading…
Reference in a new issue