Commit 68ec0019 authored by Rémy Coutable's avatar Rémy Coutable

Fix Elastic::Indexer spec

parent 1047dc3a
......@@ -3,7 +3,7 @@ require 'spec_helper'
describe "Indexer" do
it "runs commands" do
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,
hash_including(
'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