From a2d37a8405415369ef948c663967b402b75de482 Mon Sep 17 00:00:00 2001 From: Alberto Date: Tue, 23 Apr 2024 23:56:17 +0200 Subject: [PATCH] Remove duplicated spec --- spec/system/budgets/investments_spec.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/spec/system/budgets/investments_spec.rb b/spec/system/budgets/investments_spec.rb index d30c5b8c6..31ac65b28 100644 --- a/spec/system/budgets/investments_spec.rb +++ b/spec/system/budgets/investments_spec.rb @@ -1334,17 +1334,6 @@ describe "Budget Investments" do expect(page).to have_content "1 support" end end - - scenario "Show should display support text and count" do - investment = create(:budget_investment, budget: budget, heading: heading, voters: [create(:user)]) - - visit budget_investment_path(budget, investment) - - within("#budget_investment_#{investment.id}") do - expect(page).to have_content "SUPPORTS" - expect(page).to have_content "1 support" - end - end end context "Publishing prices phase" do