lib/decidim/assemblies/test/factories.rb in decidim-assemblies-0.26.4 vs lib/decidim/assemblies/test/factories.rb in decidim-assemblies-0.26.5
- old
+ new
@@ -103,10 +103,11 @@
transient do
assembly { create(:assembly) }
end
organization { assembly.organization }
+ admin_terms_accepted_at { Time.current }
after(:create) do |user, evaluator|
create :assembly_user_role,
user: user,
assembly: evaluator.assembly,
@@ -118,10 +119,11 @@
transient do
assembly { create(:assembly) }
end
organization { assembly.organization }
+ admin_terms_accepted_at { Time.current }
after(:create) do |user, evaluator|
create :assembly_user_role,
user: user,
assembly: evaluator.assembly,
@@ -133,10 +135,11 @@
transient do
assembly { create(:assembly) }
end
organization { assembly.organization }
+ admin_terms_accepted_at { Time.current }
after(:create) do |user, evaluator|
create :assembly_user_role,
user: user,
assembly: evaluator.assembly,
@@ -148,9 +151,10 @@
transient do
assembly { create(:assembly) }
end
organization { assembly.organization }
+ admin_terms_accepted_at { Time.current }
after(:create) do |user, evaluator|
create :assembly_user_role,
user: user,
assembly: evaluator.assembly,