Commit a53b4ebf authored by Felipe Artur's avatar Felipe Artur

Fix more specs

parent b84c6fb1
......@@ -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);
}
}
......
......@@ -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
......
......@@ -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" }
......
......@@ -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({
......
......@@ -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) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment