summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-04-04 16:20:54 +0200
committerRémy Coutable <remy@rymai.me>2018-04-04 16:20:54 +0200
commitbc19656c189a07bd678fe6fdbb42708508518893 (patch)
treebbcd6d377a105e8e43a49999cf35c729b60e9b22
parentb15dd5dfa2ac269763d6342d7f0b3d9a64eb7fe4 (diff)
downloadgitlab-ce-bc19656c189a07bd678fe6fdbb42708508518893.tar.gz
Fix a transient failure by removing unneeded expectations
Signed-off-by: Rémy Coutable <remy@rymai.me>
-rw-r--r--spec/features/projects/issues/user_sorts_issues_spec.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/features/projects/issues/user_sorts_issues_spec.rb b/spec/features/projects/issues/user_sorts_issues_spec.rb
index 34148ae0116..c3d63000dac 100644
--- a/spec/features/projects/issues/user_sorts_issues_spec.rb
+++ b/spec/features/projects/issues/user_sorts_issues_spec.rb
@@ -25,17 +25,14 @@ describe "User sorts issues" do
page.within(".issues-list") do
page.within("li.issue:nth-child(1)") do
expect(page).to have_content(issue1.title)
- expect(page).to have_content("2 1")
end
page.within("li.issue:nth-child(2)") do
expect(page).to have_content(issue2.title)
- expect(page).to have_content("1 2")
end
page.within("li.issue:nth-child(3)") do
expect(page).to have_content(issue3.title)
- expect(page).not_to have_content("0 0")
end
end
end