diff options
Diffstat (limited to 'spec/requests/api/graphql/mutations/notes/create/image_diff_note_spec.rb')
-rw-r--r-- | spec/requests/api/graphql/mutations/notes/create/image_diff_note_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/graphql/mutations/notes/create/image_diff_note_spec.rb b/spec/requests/api/graphql/mutations/notes/create/image_diff_note_spec.rb index 3ba6c689024..0bba3e79434 100644 --- a/spec/requests/api/graphql/mutations/notes/create/image_diff_note_spec.rb +++ b/spec/requests/api/graphql/mutations/notes/create/image_diff_note_spec.rb @@ -5,7 +5,7 @@ require 'spec_helper' describe 'Adding an image DiffNote' do include GraphqlHelpers - set(:current_user) { create(:user) } + let_it_be(:current_user) { create(:user) } let(:noteable) { create(:merge_request, source_project: project, target_project: project) } let(:project) { create(:project, :repository) } let(:diff_refs) { noteable.diff_refs } |