Socket
Book a DemoInstallSign in
Socket

lda-memory_test_fix

Package Overview
Dependencies
Maintainers
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lda-memory_test_fix

0.1.2
bundlerRubygems
Version published
Maintainers
4
Created
Source

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

FAQs

Package last updated on 11 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.