[rspec-users] rake spec loads development environment
lists at ruby-forum.com
Tue Aug 19 17:21:13 EDT 2008
Awesome. Thanks guys. Appreciate your help.
Mark Wilden wrote:
> On Tue, Aug 19, 2008 at 2:08 PM, Jonathan Linowes
> <jonathan at parkerhill.com>wrote:
>> you'll notice that vendor/plugins/rspec-rails/rspec.rake contains the line
>> spec_prereq = File.exist?(File.join(RAILS_ROOT, 'config', 'database.yml'))
>> ? "db:test:prepare" : :noop
>> which you could change or comment out
> You'd have to remember to run your migrations against the test db as
> well as
> the dev db.
Posted via http://www.ruby-forum.com/.
More information about the rspec-users