diff options
author | Akira Matsuda <ronnie@dio.jp> | 2013-07-26 23:22:41 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2013-07-29 03:03:24 +0900 |
commit | 06ac57776cf9ca75521b1f4dd2a32edb53a572e6 (patch) | |
tree | ee5db6156b1e9f3c8c8995b5b058231a16a211e1 | |
parent | f0942a7c236ba87a034f65827ddd2706c5c48ca3 (diff) | |
download | rails-06ac57776cf9ca75521b1f4dd2a32edb53a572e6.tar.gz rails-06ac57776cf9ca75521b1f4dd2a32edb53a572e6.tar.bz2 rails-06ac57776cf9ca75521b1f4dd2a32edb53a572e6.zip |
Unneeded assertion
-rw-r--r-- | activerecord/test/cases/associations/has_one_through_associations_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/has_one_through_associations_test.rb b/activerecord/test/cases/associations/has_one_through_associations_test.rb index 01a4137a5d..f2723f2e18 100644 --- a/activerecord/test/cases/associations/has_one_through_associations_test.rb +++ b/activerecord/test/cases/associations/has_one_through_associations_test.rb @@ -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 |