Skip to content

Commit cf01d01

Browse files
committed
Remove version conditional for calling GC.disable
1 parent dc7ed96 commit cf01d01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/test/cases/finder_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def test_find_passing_active_record_object_is_deprecated
5555
end
5656

5757
def test_symbols_table_ref
58-
gc_disabled = GC.disable if RUBY_VERSION >= '2.2.0'
58+
gc_disabled = GC.disable
5959
Post.where("author_id" => nil) # warm up
6060
x = Symbol.all_symbols.count
6161
Post.where("title" => {"xxxqqqq" => "bar"})

0 commit comments

Comments
 (0)