test/unit/model_test.rb in paper_trail-4.0.0 vs test/unit/model_test.rb in paper_trail-4.0.1
- old
+ new
@@ -210,11 +210,11 @@
should 'be live' do
assert @widget.live?
end
- should 'use the widget created_at' do
- assert_equal @widget.created_at.to_i, @widget.versions.first.created_at.to_i
+ should "use the widget `updated_at` as the version's `created_at`" do
+ assert_equal @widget.updated_at.to_i, @widget.versions.first.created_at.to_i
end
should 'have changes' do
#TODO Postgres does not appear to pass back ActiveSupport::TimeWithZone,