here is a link to an overflow question that holds an example of this ...
Can I use RSpec to mock stdin/stdout to test console reads & writes?
example of "should_receive " For the life of me I can't find a definitive guide for RSpec. please help.
I own "The RSpec" book from pragmatic...but I keep finding examples of expectations on the internet that don't exist in the RSpec books text. I've looked at the github/rspec for a reference text...relishapps.com....rubydocs....none of these give a definitive list of all expectations. They all only seem to have sets of examples. I'm hunting for something definitive.
Driving me nuts.