ENV["RAILS_ENV"] ||= 'test'
For some reason this plays funny with our environment in that all of our dev machines were running the tests in development mode. Obviously somewhat less than ideal. Just take out the 'or' from the 'or equals' and we're set.
ENV["RAILS_ENV"] = 'test'
There is probably more to this story but just in case this could help someone wanted to jot it down real quickly.
No comments:
Post a Comment