module IdentityMapHelper RSpec.configure do |config| config.around(:each, id_map: true) do |example| ConfigManager::ToggleIdentityMap.reset_id_map example.run ConfigManager::ToggleIdentityMap.reset_id_map end end end