Hi, I am using Mocha for a Rails project. I am new to TDD, so please forgive me if this is a stupid question.
If i have this
@client.expects(:create_config).once.returns(true)
then do I correctly assume that the code in create_config()will not run, and instead only true will be returned true?
source
share