From 47bd201adaca14c55bbfbb4a4236badec0e4cdb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sen=C3=A9n=20Rodero=20Rodr=C3=ADguez?= <15726+Senen@users.noreply.github.com> Date: Tue, 23 May 2023 11:24:34 +0200 Subject: [PATCH] Remove duplicated test The previous commit already covers the same. --- spec/system/budgets/investments_spec.rb | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/spec/system/budgets/investments_spec.rb b/spec/system/budgets/investments_spec.rb index f405847a5..2ce88e83b 100644 --- a/spec/system/budgets/investments_spec.rb +++ b/spec/system/budgets/investments_spec.rb @@ -1664,20 +1664,6 @@ describe "Budget Investments" do end end - scenario "Display 2 investment's markers on sidebar map" do - investment1 = create(:budget_investment, heading: heading) - investment2 = create(:budget_investment, heading: heading) - - create(:map_location, longitude: 40.1281, latitude: -3.656, investment: investment1) - create(:map_location, longitude: 40.1292, latitude: -3.665, investment: investment2) - - visit budget_investments_path(budget, heading_id: heading.id) - - within ".map-location" do - expect(page).to have_css(".map-icon", count: 2, visible: :all) - end - end - scenario "Display only investment's related to the current heading" do heading_2 = create(:budget_heading, name: "Madrid", group: group)