Skip to content

Commit

Permalink
Fix linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jkowens committed Jul 29, 2022
1 parent c993b61 commit 20c1d3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ class ActiveRecord::ConnectionAdapters::Mysql2Adapter
ActiveRecord::Base.logger.level = Logger::DEBUG

if ActiveRecord.respond_to?(:use_yaml_unsafe_load)
ActiveRecord.use_yaml_unsafe_load = true
ActiveRecord.use_yaml_unsafe_load = true
elsif ActiveRecord::Base.respond_to?(:use_yaml_unsafe_load)
ActiveRecord::Base.use_yaml_unsafe_load = true
ActiveRecord::Base.use_yaml_unsafe_load = true
end

if ENV['AR_VERSION'].to_f >= 6.0
Expand Down

0 comments on commit 20c1d3a

Please sign in to comment.