diff options
Diffstat (limited to 'spec/services/snippets/destroy_service_spec.rb')
-rw-r--r-- | spec/services/snippets/destroy_service_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/snippets/destroy_service_spec.rb b/spec/services/snippets/destroy_service_spec.rb index 23765243dd6..ace9847185e 100644 --- a/spec/services/snippets/destroy_service_spec.rb +++ b/spec/services/snippets/destroy_service_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe Snippets::DestroyService do +RSpec.describe Snippets::DestroyService, feature_category: :source_code_management do let_it_be(:project) { create(:project) } let_it_be(:user) { create(:user) } let_it_be(:other_user) { create(:user) } @@ -144,7 +144,7 @@ RSpec.describe Snippets::DestroyService do end end - context 'when the repository does not exists' do + context 'when the repository does not exist' do let(:snippet) { create(:personal_snippet, author: user) } it 'does not schedule anything and return success' do |