mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00:00
Limit mocha version to < 2.0.0 when Ruby version is < 2.7 to avoid test error "cannot load such file -- ruby2_keywords" (#37883).
Patch by Ko Nagase. git-svn-id: https://svn.redmine.org/redmine/trunk@21945 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
693a8bae50
commit
f90fd0d236
2
Gemfile
2
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user