DEV: hold back mocha upgrade

This breaks our test suite and we want to properly document this.
This commit is contained in:
Sam Saffron 2019-12-11 12:43:07 +11:00
parent 508b4c1e5e
commit 4de39f6596

View File

@ -148,9 +148,12 @@ group :test, :development do
gem 'mock_redis' gem 'mock_redis'
gem 'listen', require: false gem 'listen', require: false
gem 'certified', require: false gem 'certified', require: false
# later appears to break Fabricate(:topic, category: category)
gem 'fabrication', require: false gem 'fabrication', require: false
gem 'mocha', require: false
# TODO: upgrading to 1.10.1 cause it breaks our test suite.
# We want our test suite fixed though to support this upgrade.
gem 'mocha', '1.8.0', require: false
gem 'rb-fsevent', require: RUBY_PLATFORM =~ /darwin/i ? 'rb-fsevent' : false gem 'rb-fsevent', require: RUBY_PLATFORM =~ /darwin/i ? 'rb-fsevent' : false
# TODO determine if we can update this to 0.10, API changes happened # TODO determine if we can update this to 0.10, API changes happened