Skip to content
Snippets Groups Projects
Commit 7c6f4ada authored by Felipe Artur's avatar Felipe Artur
Browse files

Fix more specs

parent 62574be3
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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);
}
}
 
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
Loading
Loading
@@ -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" }
Loading
Loading
Loading
Loading
@@ -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({
Loading
Loading
Loading
Loading
@@ -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) }
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment