Commit 815477be authored by Valery Sizov's avatar Valery Sizov

This fixes spec/models/concerns/elastic/note_spec.rb[ci skip]

See discussion in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/15682#note_51235136
parent c0ef6dc7
......@@ -68,7 +68,7 @@ describe Note, elastic: true do
it "does not create ElasticIndexerWorker job for system messages" do
project = create :project, :repository
issue = create :issue, project: project
issue = create :issue, project: project, updated_at: 1.minute.ago
# Only issue should be updated
expect(ElasticIndexerWorker).to receive(:perform_async).with(:update, 'Issue', anything, anything)
......
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