lib/decidim/conferences/test/factories.rb in decidim-conferences-0.27.1 vs lib/decidim/conferences/test/factories.rb in decidim-conferences-0.27.2
- old
+ new
@@ -56,10 +56,11 @@
transient do
conference { create(:conference) }
end
organization { conference.organization }
+ admin_terms_accepted_at { Time.current }
after(:create) do |user, evaluator|
create :conference_user_role,
user: user,
conference: evaluator.conference,
@@ -71,10 +72,11 @@
transient do
conference { create(:conference) }
end
organization { conference.organization }
+ admin_terms_accepted_at { Time.current }
after(:create) do |user, evaluator|
create :conference_user_role,
user: user,
conference: evaluator.conference,
@@ -86,10 +88,11 @@
transient do
conference { create(:conference) }
end
organization { conference.organization }
+ admin_terms_accepted_at { Time.current }
after(:create) do |user, evaluator|
create :conference_user_role,
user: user,
conference: evaluator.conference,
@@ -101,9 +104,10 @@
transient do
conference { create(:conference) }
end
organization { conference.organization }
+ admin_terms_accepted_at { Time.current }
after(:create) do |user, evaluator|
create :conference_user_role,
user: user,
conference: evaluator.conference,