Add button to delete a poll

This commit is contained in:
decabeza
2019-05-14 16:46:56 +02:00
parent 087a21b4ca
commit bc1fc5d929

View File

@@ -139,6 +139,7 @@ describe "Admin polls" do
expect(page).to have_content("Poll deleted successfully")
expect(page).not_to have_content(poll.name)
expect(Poll::Question.count).to eq(0)
expect(Poll::Question::Answer.count). to eq(0)
end