1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Unneeded assertion

This commit is contained in:
Akira Matsuda 2013-07-26 23:22:41 +09:00
parent f0942a7c23
commit 06ac57776c

View file

@ -202,7 +202,7 @@ class HasOneThroughAssociationsTest < ActiveRecord::TestCase
end
@new_detail = @member_details[0]
assert @new_detail.send(:association, :member_type).loaded?
assert_not_nil assert_no_queries { @new_detail.member_type }
assert_no_queries { @new_detail.member_type }
end
def test_save_of_record_with_loaded_has_one_through