Use chewy
which relaxes ES version reqs (#30157)
This commit is contained in:
parent
e5062b7135
commit
dbaa4ed891
2 changed files with 9 additions and 9 deletions
|
@ -127,7 +127,7 @@ describe Admin::SystemCheck::ElasticsearchCheck do
|
|||
end
|
||||
|
||||
def stub_elasticsearch_error
|
||||
client = instance_double(Elasticsearch::Transport::Client)
|
||||
client = instance_double(Elasticsearch::Client)
|
||||
allow(client).to receive(:info).and_raise(Elasticsearch::Transport::Transport::Error)
|
||||
allow(Chewy).to receive(:client).and_return(client)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue