mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove version conditional for calling GC.disable
This commit is contained in:
parent
dc7ed96adc
commit
cf01d01bd9
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class FinderTest < ActiveRecord::TestCase
|
|||
end
|
||||
|
||||
def test_symbols_table_ref
|
||||
gc_disabled = GC.disable if RUBY_VERSION >= '2.2.0'
|
||||
gc_disabled = GC.disable
|
||||
Post.where("author_id" => nil) # warm up
|
||||
x = Symbol.all_symbols.count
|
||||
Post.where("title" => {"xxxqqqq" => "bar"})
|
||||
|
|
Loading…
Reference in a new issue