Sha256: f654538f8a4ea29e827c0b3d27bca1ba68cce76efb778240bcc79583c7a6d8a0
Contents?: true
Size: 592 Bytes
Versions: 44
Compression:
Stored size: 592 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 = false 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
44 entries across 44 versions & 2 rubygems