diff --git a/debian/patches/disable-simplecov-coveralls-redis.patch b/debian/patches/disable-simplecov-coveralls-redis.patch index 85376bb27392ea6acaa81db7052d644c8451ff81..1648c4b099b0490dc02420fcec20a866aebdb666 100644 --- a/debian/patches/disable-simplecov-coveralls-redis.patch +++ b/debian/patches/disable-simplecov-coveralls-redis.patch @@ -1,24 +1,20 @@ Description: Disable usage of coveralls, simplecov and redis Author: Balasankar C <balasankarc@debian.org> -Last-Update: 2018-03-18 +Last-Update: 2020-10-02 + --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb -@@ -1,15 +1,8 @@ - $LOAD_PATH.unshift(File.dirname(__FILE__)) - $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) +@@ -1,10 +1,6 @@ + # frozen_string_literal: true --require "simplecov" - require "rspec" --require ENV["USE_REAL_REDIS"] == "true" ? "redis" : "fakeredis" +-require 'simplecov' - --SimpleCov.start do -- formatter SimpleCov::Formatter::MultiFormatter.new([ -- SimpleCov::Formatter::HTMLFormatter, -- ]) --end -+require "fakeredis" - - require "rollout" +-SimpleCov.start +- +-require 'bundler/setup' ++require 'fakeredis' + require 'redis' + require 'rollout'