forked from mvz/memory_test_fix
-
Notifications
You must be signed in to change notification settings - Fork 1
Just a git repo for the memory_test_fix, which I've found useful
mattscilipoti/memory_test_fix
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
MemoryTestFix ============= 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 == Changelog * supports environments besides 'test' (cucumber, etc) * Updated to look for either so it works with Rails 1.2 and also older versions * Updated to use ActiveRecord::ConnectionAdapters::SQLite3Adapter for Rails 1.2
About
Just a git repo for the memory_test_fix, which I've found useful
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Ruby 100.0%