diff --git Gemfile Gemfile index 71e420967..8cb73293e 100644 --- Gemfile +++ Gemfile @@ -93,7 +93,7 @@ end group :test do gem "rails-dom-testing" - gem 'mocha', '>= 1.4.0' + gem 'mocha', (Gem.ruby_version < Gem::Version.new('2.7.0') ? ['>= 1.4.0', '< 2.0.0'] : '>= 1.4.0') gem 'simplecov', '~> 0.21.2', :require => false gem "ffi", platforms: [:mingw, :x64_mingw, :mswin] # For running system tests