make parameter 'skip_map' accessible on creating an investment

This commit is contained in:
Julian Herrero
2018-12-26 12:58:43 +01:00
parent f7022b36b4
commit bf7112f090
3 changed files with 47 additions and 18 deletions

View File

@@ -9,6 +9,15 @@ feature 'Budget Investments' do
@heading = create(:budget_heading, group: @group, name: "Health")
end
it_behaves_like "mappable",
"budget_investment",
"investment",
"new_management_budget_investment_path",
"",
"management_budget_investment_path",
{ "budget_id": "budget_id" },
management = true
context "Create" do
before { @budget.update(phase: 'accepting') }