Fix tests

This commit is contained in:
Claire 2025-04-28 15:50:34 +02:00
parent d417f0b1ce
commit 35a2e66eaa

View File

@ -29,6 +29,9 @@ RSpec.describe Admin::SystemCheck::ElasticsearchCheck do
},
},
})
[AccountsIndex, StatusesIndex, PublicStatusesIndex, InstancesIndex, TagsIndex].each do |index|
allow(index).to receive(:specification).and_return(instance_double(Chewy::Index::Specification, changed?: false))
end
end
context 'when running version is present and high enough' do