Fix typos to make tests more robust

Apparently we forgot to use the variables which meant the tests weren't
testing exactly what they were supposed to test.
This commit is contained in:
Javi Martín
2019-09-28 05:14:51 +02:00
parent 92acd0f2b1
commit 9ad5d82e9d
2 changed files with 3 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ describe "Valuator groups" do
within("#valuators") do
expect(page).to have_link(valuator1.email, href: admin_valuator_path(valuator1))
expect(page).to have_link(valuator2.email, href: admin_valuator_path(valuator2))
expect(page).not_to have_link(valuator3.email)
end
end