Commit bc19656c authored by Rémy Coutable's avatar Rémy Coutable

Fix a transient failure by removing unneeded expectations

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent b15dd5df
...@@ -25,17 +25,14 @@ describe "User sorts issues" do ...@@ -25,17 +25,14 @@ describe "User sorts issues" do
page.within(".issues-list") do page.within(".issues-list") do
page.within("li.issue:nth-child(1)") do page.within("li.issue:nth-child(1)") do
expect(page).to have_content(issue1.title) expect(page).to have_content(issue1.title)
expect(page).to have_content("2 1")
end end
page.within("li.issue:nth-child(2)") do page.within("li.issue:nth-child(2)") do
expect(page).to have_content(issue2.title) expect(page).to have_content(issue2.title)
expect(page).to have_content("1 2")
end end
page.within("li.issue:nth-child(3)") do page.within("li.issue:nth-child(3)") do
expect(page).to have_content(issue3.title) expect(page).to have_content(issue3.title)
expect(page).not_to have_content("0 0")
end end
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