From 4de39f65961219bd688808d98ed3cdbf013af0b1 Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Wed, 11 Dec 2019 12:43:07 +1100 Subject: [PATCH] DEV: hold back mocha upgrade This breaks our test suite and we want to properly document this. --- Gemfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 4a684635f66..d4dce470823 100644 --- a/Gemfile +++ b/Gemfile @@ -148,9 +148,12 @@ group :test, :development do gem 'mock_redis' gem 'listen', require: false gem 'certified', require: false - # later appears to break Fabricate(:topic, category: category) 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 # TODO determine if we can update this to 0.10, API changes happened