spec/spec_helper.rb in fakeredis-0.9.0 vs spec/spec_helper.rb in fakeredis-0.9.1

- old
+ new

@@ -9,9 +9,12 @@ RSpec.configure do |config| # Enable memory adapter config.before(:each) { FakeRedis.enable } + # Set the default behavior for sadd in v5.0 + config.before(:all) { Redis.sadd_returns_boolean = false } + config.backtrace_exclusion_patterns = [] end def fakeredis? FakeRedis.enabled?