Remove skip map checkbox

This commit is contained in:
Melvin Lammerts
2020-04-12 21:35:28 +00:00
committed by taitus
parent 414eba83ec
commit c34aa54122
20 changed files with 5 additions and 101 deletions

View File

@@ -140,7 +140,6 @@ section "Creating Investments" do
valuation_finished: [false, true].sample,
tag_list: tags.sample(3).join(","),
price: rand(1..100) * 100000,
skip_map: "1",
terms_of_service: "1"
}.merge(translation_attributes))
@@ -187,7 +186,6 @@ section "Winner Investments" do
valuation_finished: true,
selected: true,
price: rand(10000..heading.price),
skip_map: "1",
terms_of_service: "1"
)
add_image_to(investment) if Random.rand > 0.3

View File

@@ -37,7 +37,6 @@ section "Creating Proposals" do
created_at: rand((Time.current - 1.week)..Time.current),
tag_list: tags.sample(3).join(","),
geozone: Geozone.all.sample,
skip_map: "1",
terms_of_service: "1",
published_at: Time.current)
random_locales.map do |locale|
@@ -65,7 +64,6 @@ section "Creating Archived Proposals" do
description: description,
tag_list: tags.sample(3).join(","),
geozone: Geozone.all.sample,
skip_map: "1",
terms_of_service: "1",
created_at: months_to_archive_proposals.to_i.months.ago,
published_at: months_to_archive_proposals.to_i.months.ago)
@@ -94,7 +92,6 @@ section "Creating Successful Proposals" do
created_at: rand((Time.current - 1.week)..Time.current),
tag_list: tags.sample(3).join(","),
geozone: Geozone.all.sample,
skip_map: "1",
terms_of_service: "1",
cached_votes_up: Setting["votes_for_proposal_success"],
published_at: Time.current)
@@ -121,7 +118,6 @@ section "Creating Successful Proposals" do
created_at: rand((Time.current - 1.week)..Time.current),
tag_list: tags.sample(3).join(","),
geozone: Geozone.all.sample,
skip_map: "1",
terms_of_service: "1",
published_at: Time.current)
random_locales.map do |locale|