FREELessons: 15Length: 2.4 hours

Next lesson playing in 5 seconds

  • Overview
  • Transcript

3.2 Mocks

If you want to write tests to assert that specific methods are called for one object, mocks are the way to go. You’ll learn how to use mocks in RSpec 3, and how they are different from its predecessor.

Related Links