test/unit/model_test.rb in paper_trail-5.2.1 vs test/unit/model_test.rb in paper_trail-5.2.2
- old
+ new
@@ -518,10 +518,9 @@
context "after a column is removed from the record's schema" do
setup do
change_schema
Widget.connection.schema_cache.clear!
Widget.reset_column_information
- assert_raise(NoMethodError) { Widget.new.sacrificial_column }
@last = @widget.versions.last
end
teardown do
restore_schema