Include require 'spec_helper' in README code examples, fixes #581 #582

Merged
merged 1 commit into from Aug 7, 2012

Projects

None yet

3 participants

@jessicalevine

Adds require 'spec_helper' to the beginning of the code examples in README. See more reasoning at #581. I know it seems a bit like unnecessary repetition of code, but it should help prevent developers from copying test outlines from the documentations and getting cryptic error messages as to why the test won't function.

@travisbot

This pull request passes (merged 72ceb3c into 274ae67).

@alindeman alindeman merged commit e60f6e2 into rspec:master Aug 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment