rubysherpas / paranoia

acts_as_paranoid for Rails 5, 6 and 7
Other
2.89k stars 529 forks source link

Use correct time class for earlier Rails versions #541

Closed emilong closed 1 year ago

emilong commented 1 year ago

ActiveRecord pre-6.1 returned a Time object instead of a DateTime object, so this change updates the tests to use the correct class for the Rails version being tested.