diff --git a/repository/spec/spec_helper.rb b/repository/spec/spec_helper.rb index ed0b880c4..0d88ef263 100644 --- a/repository/spec/spec_helper.rb +++ b/repository/spec/spec_helper.rb @@ -56,6 +56,8 @@ def self.remove_constants config.after do Test.remove_constants + ROM::Repository::RelationReader.relation_readers(nil) + ROM::Repository::RelationReader.relation_cache(Concurrent::Hash.new) end Dir[SPEC_ROOT.join('support/*.rb').to_s].each do |f|