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>2020-01-10 12:07:49 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-10 12:07:49 +0300
commit0ba3a054d2190094ffda1ebe3aa53ffc5b92247d (patch)
tree8462503456eb030bb1042c6af73edc8f8af49fc6 /spec/services/notes/destroy_service_spec.rb
parentb24ae1cbc66e5b0f622393bcf2c59711750161ea (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services/notes/destroy_service_spec.rb')
-rw-r--r--spec/services/notes/destroy_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/notes/destroy_service_spec.rb b/spec/services/notes/destroy_service_spec.rb
index 9faf1299ef2..258e5c68265 100644
--- a/spec/services/notes/destroy_service_spec.rb
+++ b/spec/services/notes/destroy_service_spec.rb
@@ -3,8 +3,8 @@
require 'spec_helper'
describe Notes::DestroyService do
- set(:project) { create(:project, :public) }
- set(:issue) { create(:issue, project: project) }
+ let_it_be(:project) { create(:project, :public) }
+ let_it_be(:issue) { create(:issue, project: project) }
let(:user) { issue.author }
describe '#execute' do