Remove redundant request in ballots spec

This commit is contained in:
Javi Martín
2021-04-10 12:54:16 +02:00
parent 95e38448c0
commit cab750c8f1

View File

@@ -41,10 +41,7 @@ describe "Ballots" do
end
context "Voting" do
before do
login_as(user)
visit budget_path(budget)
end
before { login_as(user) }
let!(:city) { create(:budget_group, budget: budget, name: "City") }
let!(:districts) { create(:budget_group, budget: budget, name: "Districts") }