updates text on specs

This commit is contained in:
decabeza
2017-10-13 14:16:46 +02:00
parent 5540f130e1
commit f94a376392

View File

@@ -54,7 +54,7 @@ feature "Voter" do
within("#poll_#{poll.id}") do
click_button("Confirm vote")
expect(page).to_not have_button("Confirm vote")
expect(page).to have_button('WAIT, confirming vote', disabled: true)
expect(page).to have_button('Wait, confirming vote...', disabled: true)
expect(page).to have_content "Vote introduced!"
end