Skip to content

Commit

Permalink
fix: Ensure cancel voting button is not present
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentinchampenois committed Apr 9, 2024
1 parent 9259b2f commit c30b0b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/system/voting_index_page_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@

it "renders the page correctly" do
expect(page).to have_content("You are now in the voting booth.")
expect(page).to have_button("Cancel voting")
expect(page).not_to have_button("Cancel voting")
expect(page).to have_content("TOTAL BUDGET $100,000")
expect(page).to have_content("10 PROJECTS")
expect(page).to have_selector("button", text: "Read more", count: 5)
Expand Down

0 comments on commit c30b0b2

Please sign in to comment.