fixes specs
This commit is contained in:
@@ -73,6 +73,7 @@ feature 'Budget Investments' do
|
||||
end
|
||||
|
||||
scenario "by unfeasibilty link for group with one heading" do
|
||||
budget.update(phase: :balloting)
|
||||
group = create(:budget_group, name: 'All City', budget: budget)
|
||||
heading = create(:budget_heading, name: "Madrid", group: group)
|
||||
|
||||
@@ -86,6 +87,7 @@ feature 'Budget Investments' do
|
||||
end
|
||||
|
||||
scenario "by unfeasibilty link for group with many headings" do
|
||||
budget.update(phase: :balloting)
|
||||
group = create(:budget_group, name: 'Districts', budget: budget)
|
||||
heading1 = create(:budget_heading, name: 'Carabanchel', group: group)
|
||||
heading2 = create(:budget_heading, name: 'Barajas', group: group)
|
||||
|
||||
Reference in New Issue
Block a user