public
Description: Just a git repo for the memory_test_fix, which I've found useful
Homepage: http://agilewebdevelopment.com/plugins/memory_test_fix
Clone URL: git://github.com/rsl/memory_test_fix.git
rsl (author)
Thu Jun 05 10:07:59 -0700 2008
commit  6dc570b6b7d27cc16157c2b272aa5683723b5081
tree    f9539edf19179cea69bfd6068a40bad79390f206
parent  f07b4de7bf3d04660f6d20dd1400cd0e886fc7c8
name age message
file README Loading commit data...
file Rakefile Thu Jun 05 10:06:36 -0700 2008 initial commit [rsl]
file about.yml Thu Jun 05 10:06:36 -0700 2008 initial commit [rsl]
file init.rb Thu Jun 05 10:06:36 -0700 2008 initial commit [rsl]
directory lib/
README
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

* 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