Re: [rspec-users] RSpec fails testing on ActiveRecord

2012-05-29 Thread Todd Sedano
You'll need to create a test database in postgres, and then modify your database.yml file to reference it. # PostgreSQL 8.4 development: adapter: postgresql encoding: unicode database: ODQ_APP pool: 5 test: adapter: postgresql encoding: unicode database: ODQ_APP_TEST pool: 5 To

Re: [rspec-users] RSpec fails testing on ActiveRecord

2012-05-29 Thread Kashyap KMBC
Is there a 'database.yml' config file in your app? It should be under "/config" folder. In that, you need to specify the adapter. As per the logs, looks like the adapter is not specified or else the config file is not loaded into the app in runtime. -- Kashyap KMBC On Tuesday 29 May 2012