From 804e513c7f0e4b4d8f5f81714743dbf9fbdb28f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Wed, 7 Apr 2021 18:05:19 +0200 Subject: [PATCH] Remove redundant setting resets in `after` blocks We forgot to remove these lines in commit da121ebc53. --- spec/system/proposals_spec.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/spec/system/proposals_spec.rb b/spec/system/proposals_spec.rb index 3975a6999..6948474c8 100644 --- a/spec/system/proposals_spec.rb +++ b/spec/system/proposals_spec.rb @@ -200,8 +200,6 @@ describe "Proposals" do proposal = create(:proposal) visit proposal_path(proposal) expect(page).to have_content "Access the community" - - Setting["feature.community"] = false end scenario "Can not access the community" do @@ -746,7 +744,6 @@ describe "Proposals" do expect(page).not_to have_current_path(edit_proposal_path(proposal)) expect(page).to have_current_path(root_path) expect(page).to have_content "You do not have permission" - Setting["max_votes_for_proposal_edit"] = 1000 end scenario "Update should be posible for the author of an editable proposal" do