mirror of
https://github.com/mastodon/mastodon.git
synced 2025-05-12 04:31:11 +00:00
Fix tests
This commit is contained in:
parent
d417f0b1ce
commit
35a2e66eaa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user