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

Update spec/rails_helper.rb to bring it inline with rspec-rails version #83

Open
eliotsykes opened this issue Jul 29, 2015 · 0 comments

Comments

@eliotsykes
Copy link
Owner

The latest generated rails_helper.rb has at least a couple extra lines that aren't in this project's rails_helper.rb

https://github.com/rspec/rspec-rails/blob/v3.3.3/lib/generators/rspec/install/templates/spec/rails_helper.rb

# Prevent database truncation if the environment is production
abort("The Rails environment is running in production mode!") if Rails.env.production?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant