Displaying 1 result from an estimated 1 matches for "at_ok".
Did you mean:
ae_ok
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 &qu...