Commit 7c6f4ada authored by Felipe Artur's avatar Felipe Artur

Fix more specs

parent 62574be3
......@@ -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);
}
}
......
......@@ -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
......
......@@ -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" }
......
......@@ -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({
......
......@@ -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