aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2014-06-02 10:09:13 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2014-06-02 10:09:13 -0700
commitb5d53f864826c7ce88af0d8b9a9ff45f95956f6b (patch)
tree79a4eb19df0a113511400d3cc458ff8194d2a61d
parentf71265f7f8b3e284ec713b995c5d5b67557a3ef6 (diff)
downloadrails-b5d53f864826c7ce88af0d8b9a9ff45f95956f6b.tar.gz
rails-b5d53f864826c7ce88af0d8b9a9ff45f95956f6b.tar.bz2
rails-b5d53f864826c7ce88af0d8b9a9ff45f95956f6b.zip
just use `assert`
-rw-r--r--activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb b/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb
index 8d8201ddae..080c499444 100644
--- a/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb
+++ b/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb
@@ -872,6 +872,6 @@ class HasAndBelongsToManyAssociationsTest < ActiveRecord::TestCase
def test_redefine_habtm
child = SubDeveloper.new("name" => "Aredridel")
child.special_projects << SpecialProject.new("name" => "Special Project")
- assert_equal true, child.save
+ assert child.save, 'child object should be saved'
end
end