lib/decidim/conferences/test/factories.rb in decidim-conferences-0.26.4 vs lib/decidim/conferences/test/factories.rb in decidim-conferences-0.26.5
- 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,