mirror of https://github.com/mastodon/mastodon
Move client location
This commit is contained in:
parent
655efa2458
commit
2d54268fec
|
@ -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…
Reference in New Issue