Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix require in readme example #339

Merged
merged 1 commit into from
Jun 6, 2017
Merged

Conversation

jtippett
Copy link
Contributor

@jtippett jtippett commented May 3, 2017

Modern version of rails use rails_helper instead of spec_helper to pull in rails dependencies. With the example as written, the code will not work.

This will fix issues such as #258 and http://stackoverflow.com/questions/10536846/why-is-this-rspec-test-throwing-a-undefined-method-call-for-nilnilclass-err

Modern version of rails use `rails_helper` instead of `spec_helper` to pull in all rails dependencies. With the example as written, the code will not work.
@oestrich oestrich merged commit 26c6b46 into zipmark:master Jun 6, 2017
@oestrich
Copy link
Contributor

oestrich commented Jun 6, 2017

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants