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
6587d127
Commit
6587d127
authored
Jul 24, 2019
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CE-EE parity for interpret_service_spec
parent
feb07ce0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/services/quick_actions/interpret_service_spec.rb
spec/services/quick_actions/interpret_service_spec.rb
+2
-2
No files found.
spec/services/quick_actions/interpret_service_spec.rb
View file @
6587d127
...
@@ -574,7 +574,7 @@ describe QuickActions::InterpretService do
...
@@ -574,7 +574,7 @@ describe QuickActions::InterpretService do
context
'Issue'
do
context
'Issue'
do
it
'populates assignee_ids: [] if content contains /unassign'
do
it
'populates assignee_ids: [] if content contains /unassign'
do
issue
.
update
(
assignee_ids:
[
developer
.
id
])
issue
.
update
!
(
assignee_ids:
[
developer
.
id
])
_
,
updates
=
service
.
execute
(
content
,
issue
)
_
,
updates
=
service
.
execute
(
content
,
issue
)
expect
(
updates
).
to
eq
(
assignee_ids:
[])
expect
(
updates
).
to
eq
(
assignee_ids:
[])
...
@@ -583,7 +583,7 @@ describe QuickActions::InterpretService do
...
@@ -583,7 +583,7 @@ describe QuickActions::InterpretService do
context
'Merge Request'
do
context
'Merge Request'
do
it
'populates assignee_ids: [] if content contains /unassign'
do
it
'populates assignee_ids: [] if content contains /unassign'
do
merge_request
.
update
(
assignee_ids:
[
developer
.
id
])
merge_request
.
update
!
(
assignee_ids:
[
developer
.
id
])
_
,
updates
=
service
.
execute
(
content
,
merge_request
)
_
,
updates
=
service
.
execute
(
content
,
merge_request
)
expect
(
updates
).
to
eq
(
assignee_ids:
[])
expect
(
updates
).
to
eq
(
assignee_ids:
[])
...
...
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