How do I change the RAILS_ENV for rspec integration or remote specs?
- by Carlos Newton
I would like to create a set of remote specs "specs/remote" that run with the RAILS_ENV = 'remote'. These specs need to use a different database than the model specs. I would make them integration specs if that was easiest.
Ultimately, what is the easiest way change the RAILS_ENV from test and run a group of specs?