From ade741e113928b6ee4b376ee5d60e6813ecc35c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Tue, 25 Mar 2014 15:14:52 -0300 Subject: Use rails convetions --- activerecord/test/cases/associations/belongs_to_associations_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activerecord/test') diff --git a/activerecord/test/cases/associations/belongs_to_associations_test.rb b/activerecord/test/cases/associations/belongs_to_associations_test.rb index 7994f76d08..a65f2da7a0 100644 --- a/activerecord/test/cases/associations/belongs_to_associations_test.rb +++ b/activerecord/test/cases/associations/belongs_to_associations_test.rb @@ -341,14 +341,14 @@ class BelongsToAssociationsTest < ActiveRecord::TestCase end def test_belongs_to_with_touch_option_on_touch_without_updated_at_attributes - assert !LineItem.column_names.include?("updated_at") + assert_not LineItem.column_names.include?("updated_at") line_item = LineItem.create! invoice = Invoice.create!(line_items: [line_item]) initial = invoice.updated_at line_item.touch - refute_equal initial, invoice.reload.updated_at + assert_not_equal initial, invoice.reload.updated_at end def test_belongs_to_with_touch_option_on_touch_and_removed_parent -- cgit v1.2.3