decidim-surveys/lib/decidim/surveys/test/factories.rb in decidim-0.5.1 vs decidim-surveys/lib/decidim/surveys/test/factories.rb in decidim-0.6.0

- old
+ new

@@ -1,11 +1,11 @@ # frozen_string_literal: true FactoryGirl.define do factory :surveys_feature, parent: :feature do - name { Decidim::Features::Namer.new(participatory_process.organization.available_locales, :surveys).i18n_name } + name { Decidim::Features::Namer.new(participatory_space.organization.available_locales, :surveys).i18n_name } manifest_name :surveys - participatory_process { create(:participatory_process, :with_steps) } + participatory_space { create(:participatory_process, :with_steps) } end factory :survey, class: Decidim::Surveys::Survey do title { Decidim::Faker::Localized.sentence } description do