Skip to content

Instantly share code, notes, and snippets.

@romanblanco
Last active June 24, 2016 11:25
Show Gist options
  • Save romanblanco/b5735a66877a4038eb224849436cb982 to your computer and use it in GitHub Desktop.
Save romanblanco/b5735a66877a4038eb224849436cb982 to your computer and use it in GitHub Desktop.
config/database.yml
### RUN TESTS:
# PARALLEL=true bundle exec rake test:vmdb:setup
# PARALLEL=true bundle exec rake test:vmdb
---
base: &base
adapter: postgresql
encoding: utf8
username: root
pool: 5
wait_timeout: 5
min_messages: warning
development:
<<: *base
database: vmdb_development
min_messages: notice
production:
<<: *base
database: vmdb_production
test: &test
<<: *base
pool: 3
database: vmdb_test<%= ENV['TEST_ENV_NUMBER'] %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment