We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 833109c commit ade741eCopy full SHA for ade741e
activerecord/test/cases/associations/belongs_to_associations_test.rb
@@ -341,14 +341,14 @@ def test_belongs_to_with_touch_option_on_touch
341
end
342
343
def test_belongs_to_with_touch_option_on_touch_without_updated_at_attributes
344
- assert !LineItem.column_names.include?("updated_at")
+ assert_not LineItem.column_names.include?("updated_at")
345
346
line_item = LineItem.create!
347
invoice = Invoice.create!(line_items: [line_item])
348
initial = invoice.updated_at
349
line_item.touch
350
351
- refute_equal initial, invoice.reload.updated_at
+ assert_not_equal initial, invoice.reload.updated_at
352
353
354
def test_belongs_to_with_touch_option_on_touch_and_removed_parent
0 commit comments