Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
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
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
21 deletions
+3
-21
spec/features/boards/add_issues_modal_spec.rb
spec/features/boards/add_issues_modal_spec.rb
+2
-2
spec/features/boards/sidebar_spec.rb
spec/features/boards/sidebar_spec.rb
+0
-18
spec/javascripts/boards/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
...
@@ -142,13 +142,13 @@ describe 'Issue Boards add issue modal', :feature, :js do
end
end
end
end
it
'
un-
selects all issues'
do
it
'
de
selects all issues'
do
page
.
within
(
'.add-issues-modal'
)
do
page
.
within
(
'.add-issues-modal'
)
do
click_button
'Select all'
click_button
'Select all'
expect
(
page
).
to
have_selector
(
'.is-active'
,
count:
2
)
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'
)
expect
(
page
).
not_to
have_selector
(
'.is-active'
)
end
end
...
...
spec/features/boards/sidebar_spec.rb
View file @
cf5396d4
...
@@ -84,24 +84,6 @@ describe 'Issue Boards', feature: true, js: true do
...
@@ -84,24 +84,6 @@ describe 'Issue Boards', feature: true, js: true do
end
end
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
context
'assignee'
do
it
'updates the issues assignee'
do
it
'updates the issues assignee'
do
page
.
within
(
first
(
'.board'
))
do
page
.
within
(
first
(
'.board'
))
do
...
...
spec/javascripts/boards/boards_store_spec.js.es6
View file @
cf5396d4
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
describe('Store', () => {
describe('Store', () => {
beforeEach(() => {
beforeEach(() => {
Vue.http.interceptors.push(boardsMockInterceptor);
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();
gl.issueBoards.BoardsStore.create();
Cookies.set('issue_board_welcome_hidden', 'false', {
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