FREELessons: 15Length: 2.4 hours

Next lesson playing in 5 seconds

  • Overview
  • Transcript

2.4 Complex Matchers

Finishing the topic of expectation matchers, complex matchers are brand new in RSpec 3 and they will allow you to write complex expectations in a single test, instead of writing multiple tests to assert on that amount of complexity. You'll learn how to use these complex matchers with a couple of reference situations.