Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Unneeded assertion

  • Loading branch information...
commit 06ac57776cf9ca75521b1f4dd2a32edb53a572e6 1 parent f0942a7
@amatsuda amatsuda authored
View
2  activerecord/test/cases/associations/has_one_through_associations_test.rb
@@ -202,7 +202,7 @@ def test_preloading_has_one_through_on_belongs_to
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
Please sign in to comment.
Something went wrong with that request. Please try again.