From 28ee026951feecaed33b44251ff7e8c0c79deb81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Wed, 10 Nov 2021 19:47:03 +0100 Subject: [PATCH 1/2] Fix Layout/EmptyLines Rubocop offense It was accidentally introduced in commit 2b709f1a3. Pronto didn't warn us because the blank lines were together after removing the blank lines between them. --- spec/system/admin/budget_groups_spec.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/system/admin/budget_groups_spec.rb b/spec/system/admin/budget_groups_spec.rb index 918544fa8..9c2177fd2 100644 --- a/spec/system/admin/budget_groups_spec.rb +++ b/spec/system/admin/budget_groups_spec.rb @@ -30,7 +30,6 @@ describe "Admin budget groups", :admin do 1.times { create(:budget_heading, group: above) } 2.times { create(:budget_heading, group: below) } - visit admin_budget_path(budget) within "section", text: "Heading groups" do From c2410cb4614194a8be0cda80f05ca9877da9740e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Wed, 10 Nov 2021 19:48:39 +0100 Subject: [PATCH 2/2] Fix RSpec/LetSetup Rubocop offense It was accidentally introduced in commit 756a16f67. Pronto didn't warn us because in that commit we deleted the code where the `group` method was used. --- spec/system/budgets/budgets_spec.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/system/budgets/budgets_spec.rb b/spec/system/budgets/budgets_spec.rb index 84ce2f6c3..3e49b59c9 100644 --- a/spec/system/budgets/budgets_spec.rb +++ b/spec/system/budgets/budgets_spec.rb @@ -326,7 +326,6 @@ describe "Budgets" do context "Show" do let!(:budget) { create(:budget, :selecting) } - let!(:group) { create(:budget_group, budget: budget) } scenario "Take into account headings with the same name from a different budget" do group1 = create(:budget_group, budget: budget, name: "New York")