Commit 03073b93 authored by Igor Drozdov's avatar Igor Drozdov

Merge branch 'refactor-service-spec' into 'master'

Fix duplicated specs in update service spec

See merge request gitlab-org/gitlab!28650
parents a1cecc5f 5659573c
......@@ -409,5 +409,4 @@ RSpec/RepeatedExample:
- 'spec/rubocop/cop/migration/update_large_table_spec.rb'
- 'spec/services/notification_service_spec.rb'
- 'spec/services/web_hook_service_spec.rb'
- 'ee/spec/services/boards/lists/update_service_spec.rb'
- 'ee/spec/services/geo/repository_verification_primary_service_spec.rb'
---
title: Remove duplicate specs in update service spec
merge_request: 28650
author: Rajendra Kadam
type: added
......@@ -52,13 +52,6 @@ describe 'EE::Boards::Lists::UpdateService' do
update_list_and_test_result(list, { max_issue_weight: 42 }, { max_issue_weight: 42 })
end
it 'does not update the list if max_issue_count is nil' do
update_list_and_test_result(list,
{ max_issue_count: nil },
{ max_issue_count: 0 },
expected_service_result: :error)
end
it 'does not update the list if max_issue_weight is nil' do
update_list_and_test_result(list,
{ max_issue_weight: nil },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment