Reputation: 110960
How can I install cucumber to use PostgreSQL instead of SQLite?
Thanks
Upvotes: 1
Views: 379
Reputation: 107728
Cucumber has nothing to do with how Rails uses the database.
You need to have your test environment set up correctly in your config/database.yml
file:
test:
adapter: postgresql
username: your_name
database: a_database
You will also need to specify the pg
gem in your Gemfile
:
gem 'pg'
Upvotes: 2