Skip to content

Commit b5d53f8

Browse files
committed
just use assert
1 parent f71265f commit b5d53f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,6 +872,6 @@ def test_namespaced_habtm
872872
def test_redefine_habtm
873873
child = SubDeveloper.new("name" => "Aredridel")
874874
child.special_projects << SpecialProject.new("name" => "Special Project")
875-
assert_equal true, child.save
875+
assert child.save, 'child object should be saved'
876876
end
877877
end

0 commit comments

Comments
 (0)