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
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
34007aa0
Commit
34007aa0
authored
Jun 02, 2016
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix deprecation warnings in spec/services/issues/bulk_update_service_spec.rb
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
61cfda25
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
spec/services/issues/bulk_update_service_spec.rb
spec/services/issues/bulk_update_service_spec.rb
+4
-4
No files found.
spec/services/issues/bulk_update_service_spec.rb
View file @
34007aa0
...
...
@@ -18,7 +18,7 @@ describe Issues::BulkUpdateService, services: true do
@issues
=
create_list
(
:issue
,
5
,
project:
@project
)
@params
=
{
state_event:
'close'
,
issues_ids:
@issues
.
map
(
&
:id
)
issues_ids:
@issues
.
map
(
&
:id
)
.
join
(
","
)
}
end
...
...
@@ -38,7 +38,7 @@ describe Issues::BulkUpdateService, services: true do
@issues
=
create_list
(
:closed_issue
,
5
,
project:
@project
)
@params
=
{
state_event:
'reopen'
,
issues_ids:
@issues
.
map
(
&
:id
)
issues_ids:
@issues
.
map
(
&
:id
)
.
join
(
","
)
}
end
...
...
@@ -58,7 +58,7 @@ describe Issues::BulkUpdateService, services: true do
before
do
@new_assignee
=
create
:user
@params
=
{
issues_ids:
[
issue
.
id
]
,
issues_ids:
issue
.
id
.
to_s
,
assignee_id:
@new_assignee
.
id
}
end
...
...
@@ -97,7 +97,7 @@ describe Issues::BulkUpdateService, services: true do
before
do
@milestone
=
create
(
:milestone
,
project:
@project
)
@params
=
{
issues_ids:
[
issue
.
id
]
,
issues_ids:
issue
.
id
.
to_s
,
milestone_id:
@milestone
.
id
}
end
...
...
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