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

Force setting RAILS_ENV to test in rails_helper #341

Merged
merged 1 commit into from
Jul 25, 2022
Merged

Force setting RAILS_ENV to test in rails_helper #341

merged 1 commit into from
Jul 25, 2022

Conversation

rsempe
Copy link
Collaborator

@rsempe rsempe commented Jul 25, 2022

Objective

The goal is to enforce RAILS_ENV to be equal to test when running specs.
So that running bundle exec rspec without passing RAILS_ENV is loading the correct environment (not development).

@rsempe rsempe self-assigned this Jul 25, 2022
@rsempe rsempe merged commit 5014cbf into main Jul 25, 2022
@rsempe rsempe deleted the rails-env branch July 25, 2022 11:15
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