mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Unneeded assertion
This commit is contained in:
parent
f0942a7c23
commit
06ac57776c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue