test(flipper): instance reset is now out-of-box

This commit is contained in:
Colin Darie 2024-03-03 00:10:01 +01:00
parent c18999b8fb
commit f342bcb58b
No known key found for this signature in database
GPG key ID: 8C76CADD40253590

View file

@ -121,10 +121,6 @@ RSpec.configure do |config|
end
end
config.before(:each, type: Proc.new { |type| type != :system }) do
Flipper.instance = Flipper.new(Flipper::Adapters::Memory.new)
end
config.include ActiveSupport::Testing::TimeHelpers
config.include Shoulda::Matchers::ActiveRecord, type: :model
config.include Shoulda::Matchers::ActiveModel, type: :model