diff --git a/spec/lib/identity_nation_builder_pull_spec.rb b/spec/lib/identity_nation_builder_pull_spec.rb index 75c8614..14330e3 100644 --- a/spec/lib/identity_nation_builder_pull_spec.rb +++ b/spec/lib/identity_nation_builder_pull_spec.rb @@ -87,7 +87,7 @@ IdentityNationBuilder.fetch_new_events(@sync_id) {} Event.update_all(updated_at: 3.days.ago) IdentityNationBuilder.fetch_new_events(@sync_id) {} - expect(Event.first.updated_at.to_date).to eq(Date.today) + expect(Event.first.updated_at.to_date).to eq(Time.now.utc.to_date) end end