spec/spec_helper.rb in with_model-2.1.5 vs spec/spec_helper.rb in with_model-2.1.6

- old
+ new

@@ -1,7 +1,13 @@ # frozen_string_literal: true +# Workaround for JRuby CI failure https://github.com/jruby/jruby/issues/6547#issuecomment-774104996 +if RUBY_ENGINE == 'jruby' + require 'i18n/backend' + require 'i18n/backend/simple' +end + require 'simplecov' SimpleCov.start require 'bundler/setup' require 'with_model' @@ -34,10 +40,10 @@ require 'logger' ActiveRecord::Base.logger = Logger.new($stdout) end module SpecHelper - module RailsTestCompatability + module RailsTestCompatibility require 'minitest' include Minitest::Assertions def assertions @assertions ||= 0