7 days of WordPress plugins, themes & templates - for free!* Unlimited asset downloads! Start 7-Day Free Trial
FREELessons: 15Length: 2.4 hours

Next lesson playing in 5 seconds

Cancel
  • 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.