spec/spec_helper.rb in flipper-0.23.1 vs spec/spec_helper.rb in flipper-0.24.0
- old
+ new
@@ -20,9 +20,10 @@
Dir[FlipperRoot.join('spec/support/**/*.rb')].sort.each { |f| require f }
RSpec.configure do |config|
config.before(:example) do
+ Flipper::Cloud::Registry.default.clear if defined?(Flipper::Cloud)
Flipper.unregister_groups
Flipper.configuration = nil
end
config.disable_monkey_patching!