Yeah, you may want to do this: remove_task "db:test:prepare"
before you add the new definition of db:test:prepare. Then you can consider uncommenting the line you mentioned, or running rake db:test:prepare manually when you need it. -- Luke Melia http://www.lukemelia.com/ On Monday, May 23, 2011 at 4:56 PM, Charles Owen wrote: > What I had also done is commented this line out of my rspec.rake. > > spec_prereq = File.exist?(File.join(RAILS_ROOT, 'config', > 'database.yml')) ? "db:test:prepare" : :noop > > Which I am assuming is running a db:test:prepare as a prerequisite for > running the rspecs. > > So will the new code I write for the db:test:prepare be picked up by > these lines above? > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users