Displaying 1 result from an estimated 1 matches for "ate0v1".
Did you mean:
at01
2008 Feb 03
0
"once" not honored?
I''m trying this:
firmware.should_receive(:execute).with("ATZ").once.ordered.and_return(AT_OK)
firmware.should_receive(:execute).with("ATE0V1").once.ordered.and_return(AT_OK)
firmware.should_receive(:execute).with("AT+CNUM").once.and_return(AT_OK)
But rspec does not complain that "AT+CNUM" is never passed as argument.
Bug? Or did I misinterpret the feature "once" ?
NB: I''d love to be able to...