[rspec-users] Why does rake spec attempt to drop development db?

Byo Fuel byofuel at gmail.com
Thu Oct 6 12:22:59 EDT 2011


Figured it out -- sort of.

For some reason, the database.yml was not being parsed properly to pick up 
the values for the development environment but override the database name 
for test.  This block:

test:
  <<: *postgres_defaults
  database: via_test

was not successfully switching the database name declared in the development 
block, even though it follows the syntax I've used in other projects.  This 
project is Ruby 1.9.2p180, Rails 3.1.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20111006/bc059d55/attachment.html>


More information about the rspec-users mailing list