BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
cf5396d4
Commit
cf5396d4
authored
Jan 31, 2017
by
Phil Hughes
Committed by
Fatih Acet
Feb 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed up specs
parent
00b835ba
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
21 deletions
+3
-21
add_issues_modal_spec.rb
spec/features/boards/add_issues_modal_spec.rb
+2
-2
sidebar_spec.rb
spec/features/boards/sidebar_spec.rb
+0
-18
boards_store_spec.js.es6
spec/javascripts/boards/boards_store_spec.js.es6
+1
-1
No files found.
spec/features/boards/add_issues_modal_spec.rb
View file @
cf5396d4
...
...
@@ -142,13 +142,13 @@ describe 'Issue Boards add issue modal', :feature, :js do
end
end
it
'
un-
selects all issues'
do
it
'
de
selects all issues'
do
page
.
within
(
'.add-issues-modal'
)
do
click_button
'Select all'
expect
(
page
).
to
have_selector
(
'.is-active'
,
count:
2
)
click_button
'
Un-
select all'
click_button
'
De
select all'
expect
(
page
).
not_to
have_selector
(
'.is-active'
)
end
...
...
spec/features/boards/sidebar_spec.rb
View file @
cf5396d4
...
...
@@ -84,24 +84,6 @@ describe 'Issue Boards', feature: true, js: true do
end
end
it
'does not show remove issue button when issue is closed'
do
page
.
within
(
first
(
'.board'
))
do
first
(
'.card'
).
click
end
page
.
within
(
'.issue-boards-sidebar'
)
do
click_button
'Remove from board'
end
page
.
within
(
find
(
'.board:nth-child(2)'
))
do
first
(
'.card'
).
click
end
page
.
within
(
'.issue-boards-sidebar'
)
do
expect
(
page
).
not_to
have_button
'Remove from board'
end
end
context
'assignee'
do
it
'updates the issues assignee'
do
page
.
within
(
first
(
'.board'
))
do
...
...
spec/javascripts/boards/boards_store_spec.js.es6
View file @
cf5396d4
...
...
@@ -23,7 +23,7 @@
describe('Store', () => {
beforeEach(() => {
Vue.http.interceptors.push(boardsMockInterceptor);
gl.boardService = new BoardService('/test/issue-boards/board', '1');
gl.boardService = new BoardService('/test/issue-boards/board', '
', '
1');
gl.issueBoards.BoardsStore.create();
Cookies.set('issue_board_welcome_hidden', 'false', {
...
...
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