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

Merged
merged 1 commit into from Aug 7, 2012

Conversation

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 comment has been minimized.

Show comment Hide comment
@travisbot

travisbot Jul 30, 2012

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

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

alindeman added a commit that referenced this pull request Aug 7, 2012

Merge pull request #582 from mrjordangoldstein/master
Include require 'spec_helper' in README code examples, fixes #581

@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