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
|
group :test do
|
||||||
gem 'simplecov'
|
gem 'simplecov'
|
||||||
|
gem 'sqlite3'
|
||||||
gem 'turn', :require => false
|
gem 'turn', :require => false
|
||||||
gem 'webmock'
|
gem 'webmock'
|
||||||
end
|
end
|
||||||
|
|
|
@ -97,6 +97,7 @@ GEM
|
||||||
hike (~> 1.0)
|
hike (~> 1.0)
|
||||||
rack (~> 1.0)
|
rack (~> 1.0)
|
||||||
tilt (~> 1.0)
|
tilt (~> 1.0)
|
||||||
|
sqlite3 (1.3.3)
|
||||||
therubyracer-heroku (0.8.1.pre3)
|
therubyracer-heroku (0.8.1.pre3)
|
||||||
thor (0.14.6)
|
thor (0.14.6)
|
||||||
tilt (1.3)
|
tilt (1.3)
|
||||||
|
@ -125,6 +126,7 @@ DEPENDENCIES
|
||||||
rails (= 3.1.0.beta1)
|
rails (= 3.1.0.beta1)
|
||||||
sass
|
sass
|
||||||
simplecov
|
simplecov
|
||||||
|
sqlite3
|
||||||
therubyracer-heroku (= 0.8.1.pre3)
|
therubyracer-heroku (= 0.8.1.pre3)
|
||||||
turn
|
turn
|
||||||
webmock
|
webmock
|
||||||
|
|
|
@ -4,8 +4,11 @@ development:
|
||||||
username: postgres
|
username: postgres
|
||||||
password:
|
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:
|
test:
|
||||||
adapter: postgresql
|
adapter: sqlite3
|
||||||
database: adopt_a_hydrant_test
|
database: db/test.sqlite3
|
||||||
username: postgres
|
pool: 5
|
||||||
password:
|
timeout: 5000
|
||||||
|
|
Loading…
Reference in New Issue