test/test_helper.rb in redmine_crm-0.0.41 vs test/test_helper.rb in redmine_crm-0.0.42
- old
+ new
@@ -12,10 +12,10 @@
class ActiveSupport::TestCase #:nodoc:
include ActiveRecord::TestFixtures
self.fixture_path = File.dirname(__FILE__) + '/fixtures/'
- self.use_transactional_tests = true
+ self.use_transactional_tests = true if RUBY_VERSION > '1.9.3'
self.use_instantiated_fixtures = false
set_fixture_class :tags => RedmineCrm::ActsAsTaggable::Tag
set_fixture_class :taggings => RedmineCrm::ActsAsTaggable::Tagging
set_fixture_class :votable_caches => VotableCache