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
a53b4ebf
Commit
a53b4ebf
authored
Apr 05, 2018
by
Felipe Artur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix more specs
parent
b84c6fb1
Changes
5
Show 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 @
a53b4ebf
...
...
@@ -119,7 +119,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 @
a53b4ebf
...
...
@@ -55,7 +55,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 @
a53b4ebf
...
...
@@ -16,6 +16,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 @
a53b4ebf
...
...
@@ -43,7 +43,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 @
a53b4ebf
...
...
@@ -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