O'Reilly logo

Effective Testing with RSpec 3 by Myron Marston, Ian Dees

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A Note on Versions

The libraries we’re using in this book, both the ones from the RSpec framework and other dependencies like Sinatra and Sequel, are designed to be backward-compatible across minor version upgrades. The code examples you see here should work just fine in future versions of these libraries—at least until their next major versions.

While we’ve tested this code on multiple Ruby versions as far back as Ruby 2.2, you’ll have the best experience if you follow along with the exact same versions we call out in the text: Ruby 2.4, RSpec 3.6, and so on. With the same versions we use, you should get output that closely mirrors what we show in the book.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required