Links
Memory Test Fix
Categories
Memory Test Fix
A simple fix to run tests with sqlite. From example at
http://blog.seagul.co.uk/articles/2006/02/08/in-memory-sqlite-database-for-rails-testing
In your database.yml, use
test:
adapter: sqlite3
database: ":memory:"
It runs much faster!
You can also adjust the verbosity of the output:
test:
adapter: sqlite3 database: ":memory:" verbosity: silent
Authors
Chris Roos
Adapted by Geoffrey Grosenbach, http://nubyonrails.com
Verbosity patch by Kakutani Shintaro
Vitals
| Repository | http://topfunky.net/svn/plugins/memory_test_fix/ |
|---|---|
| License | |
| Tags |
|
| Rating | (8 votes) |
| Owner | Geoffrey Grosenbach |
| Created | 15 February 2007 |

