On Thursday, July 03, 2014 03:51:24 PM Aaron Kromer wrote:
> That's stating your spec passed. Meaning it recognized your stub syntax.
> However, you have not explicitly configured the "should" syntax. RSpec is
> warning you that you should take action to correct this. The message is
> giving you two options:
> 

>From the http://stackoverflow.com/questions/14987141/rspec-stub-private-method

I found -

@foo.should_receive(:start_training).exactly(2).times

>From relish doc I found 

expect(obj).to respond_to(:foo).with(1).argument

Where those *times*, *exactly*, *argument*, *arguments* methods are 
documented.. I am not finding it... I want to see, what else such varieties are 
present ?

-- 
================
Regards,
Arup Rakshit
================
Debugging is twice as hard as writing the code in the first place. Therefore, 
if you write the code as cleverly as possible, you are, by definition, not 
smart enough to debug it.

--Brian Kernighan

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/3434396.8MC7OPdTZd%40linux-wzza.site.
For more options, visit https://groups.google.com/d/optout.

Reply via email to