Hi I'm using Mocha for a Rails project. I'm 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 am I right in assuming that the code in create_config()
won't be run and instead true will just be returned?