require "decidim/core/test/factories" require "decidim/admin/test/factories" FactoryGirl.define do factory :meeting, class: Decidim::Meetings::Meeting do title { Decidim::Faker::Localized.sentence(3) } description { Decidim::Faker::Localized.wrapped("
", "
") { Decidim::Faker::Localized.sentence(4) } } short_description { Decidim::Faker::Localized.wrapped("", "
") { Decidim::Faker::Localized.sentence(4) } } location { Decidim::Faker::Localized.wrapped("", "
") { Decidim::Faker::Localized.sentence(4) } } location_hints { Decidim::Faker::Localized.wrapped("", "
") { Decidim::Faker::Localized.sentence(4) } } address { Faker::Lorem.sentence(3) } start_time { 1.day.from_now } end_time { start_time.advance(hours: 2) } feature end end