title: Mocks and Stubs
body: <p>I really don't understand what Mocks and Stubs are. I want to know when, why and how we use Mocks in our test cases. I know that there are good frameworks out there for Mocks and Stubs in Ruby on Rails, but without knowing the purpose, I'm reluctant to use them in my app.</p>
  
  <p>Can you please clarify about Mocks and Stubs? Please help. </p>