Skip to content

Commit

Permalink
Fix a test using local time rather than UTC
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-gratton committed Mar 9, 2022
1 parent 6109886 commit abc6f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/identity_nation_builder_pull_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit abc6f8c

Please sign in to comment.