Rubocop autocorrections

This commit is contained in:
Bertocq
2017-11-13 02:22:00 +01:00
parent 57f8aacdd7
commit cd66ba5d54
9 changed files with 63 additions and 65 deletions

View File

@@ -303,8 +303,8 @@ module CommonActions
visit poll_path(poll)
within("#poll_question_#{question.id}_answers") do
click_link "#{answer}"
expect(page).to_not have_link("#{answer}")
click_link answer.to_s
expect(page).to_not have_link(answer.to_s)
end
end