diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-06 00:08:43 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-06 00:08:43 +0300 |
commit | 59712a466f6f12acf517cdea2c4fa876f0214124 (patch) | |
tree | ba91f1d944811e9eef71bd45843797ad9989c3af /spec/services/snippets | |
parent | 2b2299ea5f8717ad59a47c1c40d951409dfeb35b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services/snippets')
-rw-r--r-- | spec/services/snippets/update_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/snippets/update_service_spec.rb b/spec/services/snippets/update_service_spec.rb index b428897ce27..f36560480e3 100644 --- a/spec/services/snippets/update_service_spec.rb +++ b/spec/services/snippets/update_service_spec.rb @@ -22,7 +22,7 @@ RSpec.describe Snippets::UpdateService, feature_category: :source_code_managemen let(:options) { base_opts.merge(extra_opts) } let(:updater) { user } - let(:service) { Snippets::UpdateService.new(project: project, current_user: updater, params: options, perform_spam_check: true) } + let(:service) { described_class.new(project: project, current_user: updater, params: options, perform_spam_check: true) } subject { service.execute(snippet) } |