lib/decidim/conferences/test/factories.rb in decidim-conferences-0.26.10 vs lib/decidim/conferences/test/factories.rb in decidim-conferences-0.27.0.rc1

- old
+ new

@@ -56,11 +56,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, @@ -72,11 +71,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, @@ -88,11 +86,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, @@ -104,11 +101,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, @@ -212,10 +208,10 @@ end factory :conference_invite, class: "Decidim::Conferences::ConferenceInvite" do conference user - sent_at { Time.current - 1.day } + sent_at { 1.day.ago } accepted_at { nil } rejected_at { nil } registration_type trait :accepted do