Sha256: 1e74cdfc86a766327954a18cc4acc5f078e82003f5da5422bd69e61e50c363de
Contents?: true
Size: 1.13 KB
Versions: 35
Compression:
Stored size: 1.13 KB
Contents
require 'spec/runner/configuration' require 'test_help' if defined?(ActiveRecord::Base) module Spec module Runner class Configuration def initialize super self.fixture_path = RAILS_ROOT + '/spec/fixtures' end def use_transactional_fixtures ActiveSupport::TestCase.use_transactional_fixtures end def use_transactional_fixtures=(value) ActiveSupport::TestCase.use_transactional_fixtures = value end def use_instantiated_fixtures ActiveSupport::TestCase.use_instantiated_fixtures end def use_instantiated_fixtures=(value) ActiveSupport::TestCase.use_instantiated_fixtures = value end def fixture_path ActiveSupport::TestCase.fixture_path end def fixture_path=(path) ActiveSupport::TestCase.fixture_path = path end def global_fixtures ActiveSupport::TestCase.fixture_table_names end def global_fixtures=(fixtures) ActiveSupport::TestCase.fixtures(*fixtures) end end end end end
Version data entries
35 entries across 35 versions & 6 rubygems