test/dummy/config/database.yml in certify-0.0.2 vs test/dummy/config/database.yml in certify-0.0.3

- old
+ new

@@ -1,25 +1,31 @@ -# SQLite version 3.x -# gem install sqlite3 -# -# Ensure the SQLite 3 gem is defined in your Gemfile -# gem 'sqlite3' -development: +sqlite: &sqlite adapter: sqlite3 - database: db/development.sqlite3 + database: db/<%= Rails.env %>.sqlite3 + +mysql: &mysql + adapter: mysql + username: root + password: + database: certify_<%= Rails.env %> + +postgresql: &postgresql + adapter: pg + username: postgres + password: + database: myapp_<%= Rails.env %> + min_messages: ERROR + +defaults: &defaults pool: 5 timeout: 5000 + host: localhost + <<: *<%= ENV['DB'] || "sqlite" %> -# Warning: The database defined as "test" will be erased and -# re-generated from your development database when you run "rake". -# Do not set this db to the same as development or production. +development: + <<: *defaults + test: - adapter: sqlite3 - database: db/test.sqlite3 - pool: 5 - timeout: 5000 + <<: *defaults production: - adapter: sqlite3 - database: db/production.sqlite3 - pool: 5 - timeout: 5000 + <<: *defaults