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
98189f37
Commit
98189f37
authored
Dec 15, 2016
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove trailing whitespace
parent
63ff055e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
spec/features/issues/filter_issues_spec.rb
spec/features/issues/filter_issues_spec.rb
+20
-20
No files found.
spec/features/issues/filter_issues_spec.rb
View file @
98189f37
...
...
@@ -67,19 +67,19 @@ describe 'Filter issues', feature: true do
assignee:
user
)
issue
.
labels
<<
bug_label
issue_with_caps_label
=
create
(
:issue
,
title:
"issue by assignee with searchTerm and label"
,
project:
project
,
milestone:
milestone
,
author:
user
,
issue_with_caps_label
=
create
(
:issue
,
title:
"issue by assignee with searchTerm and label"
,
project:
project
,
milestone:
milestone
,
author:
user
,
assignee:
user
)
issue_with_caps_label
.
labels
<<
caps_sensitive_label
issue_with_everything
=
create
(
:issue
,
title:
"Bug report with everything you thought was possible"
,
project:
project
,
milestone:
milestone
,
author:
user
,
issue_with_everything
=
create
(
:issue
,
title:
"Bug report with everything you thought was possible"
,
project:
project
,
milestone:
milestone
,
author:
user
,
assignee:
user
)
issue_with_everything
.
labels
<<
bug_label
issue_with_everything
.
labels
<<
caps_sensitive_label
...
...
@@ -590,17 +590,17 @@ describe 'Filter issues', feature: true do
context
'sorting'
,
js:
true
do
it
'sorts by oldest updated'
do
create
(
:issue
,
title:
'3 days ago'
,
project:
project
,
author:
user
,
create
(
:issue
,
title:
'3 days ago'
,
project:
project
,
author:
user
,
created_at:
3
.
days
.
ago
,
updated_at:
3
.
days
.
ago
)
old_issue
=
create
(
:issue
,
title:
'5 days ago'
,
project:
project
,
author:
user
,
old_issue
=
create
(
:issue
,
title:
'5 days ago'
,
project:
project
,
author:
user
,
created_at:
5
.
days
.
ago
,
updated_at:
5
.
days
.
ago
)
...
...
@@ -609,10 +609,10 @@ describe 'Filter issues', feature: true do
sort_toggle
=
find
(
'.filtered-search-container .dropdown-toggle'
)
sort_toggle
.
click
find
(
'.filtered-search-container .dropdown-menu li a'
,
text:
'Oldest updated'
).
click
wait_for_ajax
expect
(
find
(
'.issues-list .issue:first-of-type .issue-title-text a'
)).
to
have_content
(
old_issue
.
title
)
end
end
...
...
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