This project is archived and is in readonly mode.
test_help is unusable in an project that has more than one test environment
-
David Chelimsky
Not sure what the best approach is here. We need the flexibility to have multiple test environments, but we also want to help prevent people from doing fun things like blowing away their production databases. How about changing the condition to
if Rails.env.production?, and then adding a configurable (as in "I can turn it off") warning when not in thetestenvironment? -
José Valim
- Importance changed from to Low
Checking for Rails.env.development? or Rails.env.production? sounds good to me.
-
David Chelimsky
Oh - development too?