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
Boxiang Sun
gitlab-ce
Commits
c12ab72f
Commit
c12ab72f
authored
Aug 30, 2017
by
Hiroyuki Sato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken feature specs
parent
59e53938
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
spec/features/boards/add_issues_modal_spec.rb
spec/features/boards/add_issues_modal_spec.rb
+2
-2
spec/features/boards/boards_spec.rb
spec/features/boards/boards_spec.rb
+9
-9
No files found.
spec/features/boards/add_issues_modal_spec.rb
View file @
c12ab72f
...
@@ -8,8 +8,8 @@ describe 'Issue Boards add issue modal', :js do
...
@@ -8,8 +8,8 @@ describe 'Issue Boards add issue modal', :js do
let!
(
:label
)
{
create
(
:label
,
project:
project
)
}
let!
(
:label
)
{
create
(
:label
,
project:
project
)
}
let!
(
:list1
)
{
create
(
:list
,
board:
board
,
label:
planning
,
position:
0
)
}
let!
(
:list1
)
{
create
(
:list
,
board:
board
,
label:
planning
,
position:
0
)
}
let!
(
:list2
)
{
create
(
:list
,
board:
board
,
label:
label
,
position:
1
)
}
let!
(
:list2
)
{
create
(
:list
,
board:
board
,
label:
label
,
position:
1
)
}
let!
(
:issue
)
{
create
(
:issue
,
project:
project
)
}
let!
(
:issue
)
{
create
(
:issue
,
project:
project
,
title:
'abc'
,
description:
'def'
)
}
let!
(
:issue2
)
{
create
(
:issue
,
project:
project
)
}
let!
(
:issue2
)
{
create
(
:issue
,
project:
project
,
title:
'hij'
,
description:
'klm'
)
}
before
do
before
do
project
.
team
<<
[
user
,
:master
]
project
.
team
<<
[
user
,
:master
]
...
...
spec/features/boards/boards_spec.rb
View file @
c12ab72f
...
@@ -71,15 +71,15 @@ describe 'Issue Boards', js: true do
...
@@ -71,15 +71,15 @@ describe 'Issue Boards', js: true do
let!
(
:list2
)
{
create
(
:list
,
board:
board
,
label:
development
,
position:
1
)
}
let!
(
:list2
)
{
create
(
:list
,
board:
board
,
label:
development
,
position:
1
)
}
let!
(
:confidential_issue
)
{
create
(
:labeled_issue
,
:confidential
,
project:
project
,
author:
user
,
labels:
[
planning
],
relative_position:
9
)
}
let!
(
:confidential_issue
)
{
create
(
:labeled_issue
,
:confidential
,
project:
project
,
author:
user
,
labels:
[
planning
],
relative_position:
9
)
}
let!
(
:issue1
)
{
create
(
:labeled_issue
,
project:
project
,
assignees:
[
user
],
labels:
[
planning
],
relative_position:
8
)
}
let!
(
:issue1
)
{
create
(
:labeled_issue
,
project:
project
,
title:
'aaa'
,
description:
'111'
,
assignees:
[
user
],
labels:
[
planning
],
relative_position:
8
)
}
let!
(
:issue2
)
{
create
(
:labeled_issue
,
project:
project
,
author:
user2
,
labels:
[
planning
],
relative_position:
7
)
}
let!
(
:issue2
)
{
create
(
:labeled_issue
,
project:
project
,
title:
'bbb'
,
description:
'222'
,
author:
user2
,
labels:
[
planning
],
relative_position:
7
)
}
let!
(
:issue3
)
{
create
(
:labeled_issue
,
project:
project
,
labels:
[
planning
],
relative_position:
6
)
}
let!
(
:issue3
)
{
create
(
:labeled_issue
,
project:
project
,
title:
'ccc'
,
description:
'333'
,
labels:
[
planning
],
relative_position:
6
)
}
let!
(
:issue4
)
{
create
(
:labeled_issue
,
project:
project
,
labels:
[
planning
],
relative_position:
5
)
}
let!
(
:issue4
)
{
create
(
:labeled_issue
,
project:
project
,
title:
'ddd'
,
description:
'444'
,
labels:
[
planning
],
relative_position:
5
)
}
let!
(
:issue5
)
{
create
(
:labeled_issue
,
project:
project
,
labels:
[
planning
],
milestone:
milestone
,
relative_position:
4
)
}
let!
(
:issue5
)
{
create
(
:labeled_issue
,
project:
project
,
title:
'eee'
,
description:
'555'
,
labels:
[
planning
],
milestone:
milestone
,
relative_position:
4
)
}
let!
(
:issue6
)
{
create
(
:labeled_issue
,
project:
project
,
labels:
[
planning
,
development
],
relative_position:
3
)
}
let!
(
:issue6
)
{
create
(
:labeled_issue
,
project:
project
,
title:
'fff'
,
description:
'666'
,
labels:
[
planning
,
development
],
relative_position:
3
)
}
let!
(
:issue7
)
{
create
(
:labeled_issue
,
project:
project
,
labels:
[
development
],
relative_position:
2
)
}
let!
(
:issue7
)
{
create
(
:labeled_issue
,
project:
project
,
title:
'ggg'
,
description:
'777'
,
labels:
[
development
],
relative_position:
2
)
}
let!
(
:issue8
)
{
create
(
:closed_issue
,
project:
project
)
}
let!
(
:issue8
)
{
create
(
:closed_issue
,
project:
project
,
title:
'hhh'
,
description:
'888'
)
}
let!
(
:issue9
)
{
create
(
:labeled_issue
,
project:
project
,
labels:
[
planning
,
testing
,
bug
,
accepting
],
relative_position:
1
)
}
let!
(
:issue9
)
{
create
(
:labeled_issue
,
project:
project
,
title:
'iii'
,
description:
'999'
,
labels:
[
planning
,
testing
,
bug
,
accepting
],
relative_position:
1
)
}
before
do
before
do
visit
project_board_path
(
project
,
board
)
visit
project_board_path
(
project
,
board
)
...
...
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