Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

use in memory sqlite db

  • Loading branch information...
commit 356f05d2984d3d423d5579fc73e02706aef181d6 1 parent cf35a18
Matt Jankowski mjankowski authored

Showing 1 changed file with 4 additions and 15 deletions. Show diff stats Hide diff stats

  1. +4 15 spec/dummy/config/database.yml
19 spec/dummy/config/database.yml
... ... @@ -1,22 +1,11 @@
1   -# SQLite version 3.x
2   -# gem install sqlite3
3   -development:
  1 +development: &default
4 2 adapter: sqlite3
5   - database: db/development.sqlite3
  3 + database: ":memory:"
6 4 pool: 5
7 5 timeout: 5000
8 6
9   -# Warning: The database defined as "test" will be erased and
10   -# re-generated from your development database when you run "rake".
11   -# Do not set this db to the same as development or production.
12 7 test:
13   - adapter: sqlite3
14   - database: db/test.sqlite3
15   - pool: 5
16   - timeout: 5000
  8 + <<: *default
17 9
18 10 production:
19   - adapter: sqlite3
20   - database: db/production.sqlite3
21   - pool: 5
22   - timeout: 5000
  11 + <<: *default

0 comments on commit 356f05d

Please sign in to comment.
Something went wrong with that request. Please try again.