Remove unused attributes creating a heading

The "name" attribute is automatically generated by the budget heading
factory. And the "price" attribute is out of context and not needed
since this test doesn't create investments.
This commit is contained in:
Javi Martín
2019-09-24 04:26:35 +02:00
parent f5849cb5d8
commit 01862d6664

View File

@@ -434,8 +434,7 @@ describe "Ballots" do
scenario "Display links to vote on groups with no investments voted yet" do
group = create(:budget_group, budget: budget)
heading = create(:budget_heading, name: "District 1", group: group, price: 100)
heading = create(:budget_heading, group: group)
ballot = create(:budget_ballot, user: user, budget: budget)
login_as(user)