Use sqlite3 for tests
This commit is contained in:
parent
34628a96aa
commit
3cb06b0159
1
Gemfile
1
Gemfile
|
@ -14,6 +14,7 @@ end
|
|||
|
||||
group :test do
|
||||
gem 'simplecov'
|
||||
gem 'sqlite3'
|
||||
gem 'turn', :require => false
|
||||
gem 'webmock'
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue