diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-01-06 19:54:23 +0000 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-01-07 15:03:16 -0800 |
commit | 5b28e5254267c581ce6934408aaf458616e44e3f (patch) | |
tree | 2c6e793119db841e22443848fa03e8527dc6c1b4 /activerecord/test/cases | |
parent | d23c332e02932a6a06853193c79a21d70dbe139e (diff) | |
download | rails-5b28e5254267c581ce6934408aaf458616e44e3f.tar.gz rails-5b28e5254267c581ce6934408aaf458616e44e3f.tar.bz2 rails-5b28e5254267c581ce6934408aaf458616e44e3f.zip |
Don't not remove double negatives
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/associations/inverse_associations_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/inverse_associations_test.rb b/activerecord/test/cases/associations/inverse_associations_test.rb index 4cca78da9d..e9a57a00a0 100644 --- a/activerecord/test/cases/associations/inverse_associations_test.rb +++ b/activerecord/test/cases/associations/inverse_associations_test.rb @@ -161,7 +161,7 @@ class InverseHasOneTests < ActiveRecord::TestCase def test_parent_instance_should_be_shared_with_replaced_via_method_child m = Man.find(:first) f = Face.new(:description => 'haunted') - m.face.replace(f, false) + m.face.replace(f) assert_not_nil f.man assert_equal m.name, f.man.name, "Name of man should be the same before changes to parent instance" m.name = 'Bongo' |