diff --git a/.rubocop.yml b/.rubocop.yml index a967615..5df2370 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -13,7 +13,7 @@ inherit_mode: AllCops: NewCops: enable - TargetRubyVersion: 3.0 + TargetRubyVersion: 3.2 SuggestExtensions: false DisplayCopNames: true CacheRootDirectory: tmp/rubocop-cache diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index a49a438..ed6a48e 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -25,8 +25,7 @@ Dir[File.expand_path('support/**/*.rb', __dir__)].each { |f| require_relative f begin ActiveRecord::Migration.maintain_test_schema! -rescue ActiveRecord::PendingMigrationError => e - puts e.to_s.strip +rescue ActiveRecord::PendingMigrationError exit 1 end