Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-07-05 18:08:48 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-05 18:08:48 +0300
commit205b6baf2677879c35968d2b659225b58e8a1227 (patch)
tree10ed06185aae2f6ed6e7c61349a92acab605daca /spec/workers/gitlab/github_import/import_diff_note_worker_spec.rb
parentf34077e88198da754b4efecd1ce1d996ce982286 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers/gitlab/github_import/import_diff_note_worker_spec.rb')
-rw-r--r--spec/workers/gitlab/github_import/import_diff_note_worker_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/workers/gitlab/github_import/import_diff_note_worker_spec.rb b/spec/workers/gitlab/github_import/import_diff_note_worker_spec.rb
index af15f465107..15bc55c1526 100644
--- a/spec/workers/gitlab/github_import/import_diff_note_worker_spec.rb
+++ b/spec/workers/gitlab/github_import/import_diff_note_worker_spec.rb
@@ -7,7 +7,8 @@ RSpec.describe Gitlab::GithubImport::ImportDiffNoteWorker do
describe '#import' do
it 'imports a diff note' do
- project = double(:project, full_path: 'foo/bar', id: 1, import_state: nil)
+ import_state = create(:import_state, :started)
+ project = double(:project, full_path: 'foo/bar', id: 1, import_state: import_state)
client = double(:client)
importer = double(:importer)
hash = {