Commit 98189f37 authored by Clement Ho's avatar Clement Ho

Remove trailing whitespace

parent 63ff055e
...@@ -67,19 +67,19 @@ describe 'Filter issues', feature: true do ...@@ -67,19 +67,19 @@ describe 'Filter issues', feature: true do
assignee: user) assignee: user)
issue.labels << bug_label issue.labels << bug_label
issue_with_caps_label = create(:issue, issue_with_caps_label = create(:issue,
title: "issue by assignee with searchTerm and label", title: "issue by assignee with searchTerm and label",
project: project, project: project,
milestone: milestone, milestone: milestone,
author: user, author: user,
assignee: user) assignee: user)
issue_with_caps_label.labels << caps_sensitive_label issue_with_caps_label.labels << caps_sensitive_label
issue_with_everything = create(:issue, issue_with_everything = create(:issue,
title: "Bug report with everything you thought was possible", title: "Bug report with everything you thought was possible",
project: project, project: project,
milestone: milestone, milestone: milestone,
author: user, author: user,
assignee: user) assignee: user)
issue_with_everything.labels << bug_label issue_with_everything.labels << bug_label
issue_with_everything.labels << caps_sensitive_label issue_with_everything.labels << caps_sensitive_label
...@@ -590,17 +590,17 @@ describe 'Filter issues', feature: true do ...@@ -590,17 +590,17 @@ describe 'Filter issues', feature: true do
context 'sorting', js: true do context 'sorting', js: true do
it 'sorts by oldest updated' do it 'sorts by oldest updated' do
create(:issue, create(:issue,
title: '3 days ago', title: '3 days ago',
project: project, project: project,
author: user, author: user,
created_at: 3.days.ago, created_at: 3.days.ago,
updated_at: 3.days.ago) updated_at: 3.days.ago)
old_issue = create(:issue, old_issue = create(:issue,
title: '5 days ago', title: '5 days ago',
project: project, project: project,
author: user, author: user,
created_at: 5.days.ago, created_at: 5.days.ago,
updated_at: 5.days.ago) updated_at: 5.days.ago)
...@@ -609,10 +609,10 @@ describe 'Filter issues', feature: true do ...@@ -609,10 +609,10 @@ describe 'Filter issues', feature: true do
sort_toggle = find('.filtered-search-container .dropdown-toggle') sort_toggle = find('.filtered-search-container .dropdown-toggle')
sort_toggle.click sort_toggle.click
find('.filtered-search-container .dropdown-menu li a', text: 'Oldest updated').click find('.filtered-search-container .dropdown-menu li a', text: 'Oldest updated').click
wait_for_ajax wait_for_ajax
expect(find('.issues-list .issue:first-of-type .issue-title-text a')).to have_content(old_issue.title) expect(find('.issues-list .issue:first-of-type .issue-title-text a')).to have_content(old_issue.title)
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment