The Three Musketeers: Double, Stub & Mock
Writing tests in Ruby can be truly enjoyable but when the concepts aren’t clear in your mind, the experience quickly turns painful. Few things are more frustrating than a failing test, especially when you can’t immediately understand why it failed. I’ve been there many times myself. When