Skip to content
Snippets Groups Projects
Commit 948b4828 authored by Phil Hughes's avatar Phil Hughes Committed by Fatih Acet
Browse files

Issue board spec fixes

parent a9349f57
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -27,6 +27,8 @@
const list = new List(listObj);
this.state.lists.push(list);
 
this.state.lists = _.sortBy(this.state.lists, 'position');
return list;
},
new (listObj) {
Loading
Loading
Loading
Loading
@@ -15,7 +15,7 @@
return this.resolvedDiscussionCount === this.discussionCount;
},
resolvedCountText() {
return this.discussionCount === 0 ? 'discussion' : 'discussions';
return this.discussionCount === 1 ? 'discussion' : 'discussions';
}
}
});
Loading
Loading
Loading
Loading
@@ -46,7 +46,7 @@ describe 'Issue Boards new issue', feature: true, js: true do
 
click_button 'Cancel'
 
expect(page).to have_selector('.board-new-issue-form', visible: false)
expect(page).not_to have_selector('.board-new-issue-form')
end
end
 
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