Merge pull request #2342 from wairbut-m2c/iagirre-budgets-column-show-valuators

Budget: add column show to valuators
This commit is contained in:
Alberto
2018-04-30 17:49:15 +02:00
committed by GitHub
13 changed files with 193 additions and 23 deletions

View File

@@ -56,6 +56,12 @@ section "Creating Investments" do
end
end
section "Marking investments as visible to valuators" do
(1..50).to_a.sample.times do
Budget::Investment.reorder("RANDOM()").first.update(visible_to_valuators: true)
end
end
section "Geolocating Investments" do
Budget.all.each do |budget|
budget.investments.each do |investment|