diff --git a/publify_textfilter_code.gemspec b/publify_textfilter_code.gemspec index 9a892c2..f75c905 100644 --- a/publify_textfilter_code.gemspec +++ b/publify_textfilter_code.gemspec @@ -29,7 +29,7 @@ Gem::Specification.new do |s| s.add_development_dependency "rubocop-factory_bot", "~> 2.28.0" s.add_development_dependency "rubocop-performance", "~> 1.26.1" s.add_development_dependency "rubocop-rails", "~> 2.34.3" - s.add_development_dependency "rubocop-rspec", "~> 3.8.0" + s.add_development_dependency "rubocop-rspec", "~> 3.9.0" s.add_development_dependency "rubocop-rspec_rails", "~> 2.32.0" s.add_development_dependency "simplecov", "~> 0.22.0" s.add_development_dependency "sqlite3", "~> 1.4" diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index 487fc6f..d831857 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -26,12 +26,7 @@ # Checks for pending migrations and applies them before tests are run. # If you are not using ActiveRecord, you can remove these lines. -begin - ActiveRecord::Migration.maintain_test_schema! -rescue ActiveRecord::PendingMigrationError => e - puts e.to_s.strip - exit 1 -end +ActiveRecord::Migration.maintain_test_schema! RSpec.configure do |config| # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures