Commit ac0451df authored by Valery Sizov's avatar Valery Sizov

Merge branch 'fix-master-tests' into 'master'

Fix Elastic::Indexer spec

This break was broken by !273.

See merge request !277
parents 1047dc3a 68ec0019
...@@ -3,7 +3,7 @@ require 'spec_helper' ...@@ -3,7 +3,7 @@ require 'spec_helper'
describe "Indexer" do describe "Indexer" do
it "runs commands" do it "runs commands" do
expect(Gitlab::Popen).to receive(:popen).with( expect(Gitlab::Popen).to receive(:popen).with(
array_including('bin/elastic_repo_indexer', '1', 'full_repo_path'), [File.join(Rails.root, 'bin/elastic_repo_indexer'), '1', 'full_repo_path'],
nil, nil,
hash_including( hash_including(
'ELASTIC_CONNECTION_INFO' => { 'ELASTIC_CONNECTION_INFO' => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment