Sha256: 71dbb3b862c5f332bcffc3d289faf9012384ff67351c74345f6009d837b7c70f

Contents?: true

Size: 770 Bytes

Versions: 2

Compression:

Stored size: 770 Bytes

Contents

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

Adapted as GemPlugin by Matijs van Zuijlen

== Changelog

* Updated to work as a GemPlugin
* 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

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
lda-memory_test_fix-0.1.2 README
mvz-memory_test_fix-0.1.1 README