Commit ef0b3a56 authored by Valery Sizov's avatar Valery Sizov

fix Elastic spec

parent 24e9239e
require 'spec_helper'
describe ElasticCommitIndexerWorker do
let(:project) { create(:project) }
let!(:project) { create(:project) }
subject { described_class.new }
......@@ -12,6 +12,7 @@ describe ElasticCommitIndexerWorker do
it 'runs indexer' do
expect_any_instance_of(Gitlab::Elastic::Indexer).to receive(:run)
subject.perform(project.id, '0000', '0000')
end
......
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