summaryrefslogtreecommitdiff
path: root/spec/workers/update_external_pull_requests_worker_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-25 03:08:49 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-25 03:08:49 +0000
commita8c82a6395ed62380b9061a26d92e41d46c2877e (patch)
treebd8ab49ac11104ad9ae953afd4c5e0036fdddaa2 /spec/workers/update_external_pull_requests_worker_spec.rb
parent0b881f91159cc97ccb7328a2e52977a60ea83fbe (diff)
downloadgitlab-ce-a8c82a6395ed62380b9061a26d92e41d46c2877e.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers/update_external_pull_requests_worker_spec.rb')
-rw-r--r--spec/workers/update_external_pull_requests_worker_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/workers/update_external_pull_requests_worker_spec.rb b/spec/workers/update_external_pull_requests_worker_spec.rb
index f3956bb3514..8930a36ceb8 100644
--- a/spec/workers/update_external_pull_requests_worker_spec.rb
+++ b/spec/workers/update_external_pull_requests_worker_spec.rb
@@ -4,8 +4,8 @@ require 'spec_helper'
describe UpdateExternalPullRequestsWorker do
describe '#perform' do
- set(:project) { create(:project, import_source: 'tanuki/repository') }
- set(:user) { create(:user) }
+ let_it_be(:project) { create(:project, import_source: 'tanuki/repository') }
+ let_it_be(:user) { create(:user) }
let(:worker) { described_class.new }
before do