spec/models/widget_spec.rb in paper_trail-5.0.1 vs spec/models/widget_spec.rb in paper_trail-5.1.0

- old
+ new

@@ -119,10 +119,11 @@ describe "Association", versioning: true do describe "sort order" do it "should sort by the timestamp order from the `VersionConcern`" do expect(widget.versions.to_sql).to eq( - widget.versions.reorder(PaperTrail::Version.timestamp_sort_order).to_sql) + widget.versions.reorder(PaperTrail::Version.timestamp_sort_order).to_sql + ) end end end if defined?(ActiveRecord::IdentityMap) && ActiveRecord::IdentityMap.respond_to?(:without)