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
7c6f4ada
Commit
7c6f4ada
authored
Apr 05, 2018
by
Felipe Artur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix more specs
parent
62574be3
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
4 deletions
+6
-4
app/assets/javascripts/boards/models/issue.js
app/assets/javascripts/boards/models/issue.js
+1
-1
app/services/boards/issues/list_service.rb
app/services/boards/issues/list_service.rb
+1
-1
spec/fixtures/api/schemas/issue.json
spec/fixtures/api/schemas/issue.json
+2
-0
spec/javascripts/boards/issue_card_spec.js
spec/javascripts/boards/issue_card_spec.js
+1
-1
spec/services/boards/issues/list_service_spec.rb
spec/services/boards/issues/list_service_spec.rb
+1
-1
No files found.
app/assets/javascripts/boards/models/issue.js
View file @
7c6f4ada
...
...
@@ -115,7 +115,7 @@ class ListIssue {
}
const
projectPath
=
this
.
project
?
this
.
project
.
path
:
''
;
return
Vue
.
http
.
patch
(
this
.
path
+
'
.json
'
,
data
);
return
Vue
.
http
.
patch
(
`
${
this
.
path
}
.json`
,
data
);
}
}
...
...
app/services/boards/issues/list_service.rb
View file @
7c6f4ada
...
...
@@ -53,7 +53,7 @@ module Boards
end
def
set_scope
params
[
:include_subgroups
]
=
true
if
board
.
group_board?
params
[
:include_subgroups
]
=
board
.
group_board?
end
def
board_label_ids
...
...
spec/fixtures/api/schemas/issue.json
View file @
7c6f4ada
...
...
@@ -15,6 +15,8 @@
"relative_position"
:
{
"type"
:
"integer"
},
"issue_sidebar_endpoint"
:
{
"type"
:
"string"
},
"toggle_subscription_endpoint"
:
{
"type"
:
"string"
},
"reference_path"
:
{
"type"
:
"string"
},
"real_path"
:
{
"type"
:
"string"
},
"project"
:
{
"id"
:
{
"type"
:
"integer"
},
"path"
:
{
"type"
:
"string"
}
...
...
spec/javascripts/boards/issue_card_spec.js
View file @
7c6f4ada
...
...
@@ -42,7 +42,7 @@ describe('Issue card component', () => {
labels
:
[
list
.
label
],
assignees
:
[],
reference_path
:
'
#1
'
,
real_path
:
'
/test/1
'
real_path
:
'
/test/1
'
,
});
component
=
new
Vue
({
...
...
spec/services/boards/issues/list_service_spec.rb
View file @
7c6f4ada
...
...
@@ -102,7 +102,7 @@ describe Boards::Issues::ListService do
it_behaves_like
'issues list service'
end
context
'and group is an ancestor'
do
context
'and group is an ancestor'
,
:nested_groups
do
let
(
:parent
)
{
create
(
:group
)
}
let
(
:group
)
{
create
(
:group
,
parent:
parent
)
}
let!
(
:backlog
)
{
create
(
:backlog_list
,
board:
board
)
}
...
...
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