Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5659573c
Commit
5659573c
authored
Apr 02, 2020
by
Rajendra Kadam
Committed by
Igor Drozdov
Apr 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove duplicated specs in update service spec
parent
00286b2f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
8 deletions
+5
-8
.rubocop.yml
.rubocop.yml
+0
-1
changelogs/unreleased/refactor-service-spec.yml
changelogs/unreleased/refactor-service-spec.yml
+5
-0
ee/spec/services/boards/lists/update_service_spec.rb
ee/spec/services/boards/lists/update_service_spec.rb
+0
-7
No files found.
.rubocop.yml
View file @
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'
changelogs/unreleased/refactor-service-spec.yml
0 → 100644
View file @
5659573c
---
title
:
Remove duplicate specs in update service spec
merge_request
:
28650
author
:
Rajendra Kadam
type
:
added
ee/spec/services/boards/lists/update_service_spec.rb
View file @
5659573c
...
...
@@ -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
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment