diff --git a/.rubocop.yml b/.rubocop.yml index 960e3958..acb09b3b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -17,7 +17,7 @@ require: AllCops: NewCops: enable - TargetRubyVersion: 2.6 + TargetRubyVersion: 3 SuggestExtensions: false Exclude: - playground/**/* diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 4d1ce533..d7fea5ff 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -42,7 +42,7 @@ OLD_RAILS = Gem.loaded_specs['rails'].version < Gem::Version.new('4.0') NEW_RAILS = Gem.loaded_specs['rails'].version >= Gem::Version.new('6.0') -Dir["#{File.dirname(__FILE__)}/support/*.rb"].sort.each { |file| require file } +Dir["#{File.dirname(__FILE__)}/support/*.rb"].each { |file| require file } RSpec.configure do |c| c.mock_with :rspec