Episode #122: Testing Blocks With Rspec

Last episode we looked at a simple way to test if a method executes a block as intended that will work in any test framework. But if your tool of choice is RSpec, there are some matchers that make these kinds of tests shorter and more declarative.

This page is just for members. Sign in or subscribe to gain access!