Use sqlite3 for tests

This commit is contained in:
Erik Michaels-Ober 2011-05-08 16:07:54 -07:00
parent 34628a96aa
commit 3cb06b0159
3 changed files with 10 additions and 4 deletions

View File

@ -14,6 +14,7 @@ end
group :test do
gem 'simplecov'
gem 'sqlite3'
gem 'turn', :require => false
gem 'webmock'
end

View File

@ -97,6 +97,7 @@ GEM
hike (~> 1.0)
rack (~> 1.0)
tilt (~> 1.0)
sqlite3 (1.3.3)
therubyracer-heroku (0.8.1.pre3)
thor (0.14.6)
tilt (1.3)
@ -125,6 +126,7 @@ DEPENDENCIES
rails (= 3.1.0.beta1)
sass
simplecov
sqlite3
therubyracer-heroku (= 0.8.1.pre3)
turn
webmock

View File

@ -4,8 +4,11 @@ development:
username: postgres
password:
# 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.
test:
adapter: postgresql
database: adopt_a_hydrant_test
username: postgres
password:
adapter: sqlite3
database: db/test.sqlite3
pool: 5
timeout: 5000