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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
7df4a3c5
Commit
7df4a3c5
authored
May 31, 2016
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec
parent
22b8b9a7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
app/views/shared/issuable/_label_page_default.html.haml
app/views/shared/issuable/_label_page_default.html.haml
+1
-1
spec/services/issues/bulk_update_service_spec.rb
spec/services/issues/bulk_update_service_spec.rb
+7
-6
No files found.
app/views/shared/issuable/_label_page_default.html.haml
View file @
7df4a3c5
...
...
@@ -6,7 +6,7 @@
=
dropdown_title
(
title
)
=
dropdown_filter
(
filter_placeholder
)
=
dropdown_content
-
if
@project
and
show_footer
-
if
@project
&&
show_footer
=
dropdown_footer
do
%ul
.dropdown-footer-list
-
if
can?
(
current_user
,
:admin_label
,
@project
)
...
...
spec/services/issues/bulk_update_service_spec.rb
View file @
7df4a3c5
...
...
@@ -6,9 +6,10 @@ describe Issues::BulkUpdateService, services: true do
let!
(
:result
)
{
Issues
::
BulkUpdateService
.
new
(
project
,
user
,
params
).
execute
}
before
do
@issues
=
create_list
(
:issue
,
5
,
project:
@project
)
@params
=
{
describe
:close_issue
do
let
(
:issues
)
{
create_list
(
:issue
,
5
,
project:
project
)
}
let
(
:params
)
do
{
state_event:
'close'
,
issues_ids:
issues
.
map
(
&
:id
).
join
(
','
)
}
...
...
@@ -26,9 +27,9 @@ describe Issues::BulkUpdateService, services: true do
end
describe
:reopen_issues
do
before
do
@issues
=
create_list
(
:closed_issue
,
5
,
project:
@project
)
@params
=
{
let
(
:issues
)
{
create_list
(
:closed_issue
,
5
,
project:
project
)
}
let
(
:params
)
do
{
state_event:
'reopen'
,
issues_ids:
issues
.
map
(
&
:id
).
join
(
','
)
}
...
...
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