RubyGems.org

Unit tests should be fast, active records (unless testing a complicated non data dependent business logic) should be connected to a database, but every time such a test method runs Rails will make sure Your fixtures are correctly loaded (and there's no way turning it off for particular tests).

installgem install disable_test_fixtures
Authors

Karol Bucek

1,156 total downloads 1,156 for this version
Owners

Caa2df9372ffa0a9e95b2bab1e8fea34

Gemfile
gem 'disable_test_fixtures', '~> 0.2.0'
Versions
  1. 0.2.0 April 22, 2012 (13 KB)
Runtime Dependencies
  1. actionpack >= 2.3
Development Dependencies
  1. mocha >= 0