Skip to content

Commit 5b0f588

Browse files
committed
Cleanup since the gem supports Rails 5.2+
1 parent 135be7f commit 5b0f588

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

test/test_helper.rb

+1-8
Original file line numberDiff line numberDiff line change
@@ -192,14 +192,7 @@ class TestCase
192192
self.fixture_path = File.dirname(__FILE__) + "/fixtures"
193193
end
194194

195-
# `use_transactional_fixtures=` was deprecated in favor of
196-
# `use_transactional_tests=` in Rails 5.0, removed in Rails 5.1.
197-
if respond_to?(:use_transactional_tests=)
198-
self.use_transactional_tests = false
199-
else
200-
self.use_transactional_fixtures = false
201-
end
202-
195+
self.use_transactional_tests = false
203196
self.use_instantiated_fixtures = false
204197
self.pre_loaded_fixtures = false
205198
fixtures :all

0 commit comments

Comments
 (0)