AnApprentice
AnApprentice

Reputation: 110960

Rails - Getting Cucumber Installed w PostgreSQL

How can I install cucumber to use PostgreSQL instead of SQLite?

Thanks

Upvotes: 1

Views: 379

Answers (1)

Ryan Bigg
Ryan Bigg

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

Related Questions