Sha256: 49effd6ea9ab12a142f32bf4a26a61fb0c61cd08907edf71e43424b4acc57c4c
Contents?: true
Size: 591 Bytes
Versions: 1
Compression:
Stored size: 591 Bytes
Contents
require File.join(File.dirname(__FILE__), 'activerecord_test_connector') class ActiveRecordTestCase < Test::Unit::TestCase # Set our fixture path if ActiveRecordTestConnector.able_to_connect self.fixture_path = File.join(File.dirname(__FILE__), '..', 'fixtures') self.use_transactional_fixtures = true end def self.fixtures(*args) super if ActiveRecordTestConnector.connected end def run(*args) super if ActiveRecordTestConnector.connected end # Default so Test::Unit::TestCase doesn't complain def test_truth end end ActiveRecordTestConnector.setup
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
will_paginate-2.1.0 | test/lib/activerecord_test_case.rb |