codegram/spinach-rails — Issue #6: bundle exec rake spinach
Author: releod
Created: 2011-12-22 15:37:12+00:00
State: open

I opened this in the spinach repo, you mentioned it might be specific to spinach-rails.

When I run this command in my terminal window, the spinach tests are being run against the development environment; and not the test environment.

If I prepend RAILS_ENV=test, the tests run against the expected environment.

I discovered this because I want to add spinach to my default rake task to run along side my other units and functionals.