diff --git a/.rubocop.yml b/.rubocop.yml index 960e395..acb09b3 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 4d1ce53..d7fea5f 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