diff options
author | Rajarshi Das <rajarshid@cybage.com> | 2013-08-13 17:56:15 +0530 |
---|---|---|
committer | Rajarshi Das <rajarshid@cybage.com> | 2013-08-13 17:56:15 +0530 |
commit | 8910f12fb4d86a58dedb36b19f4b2470337662e7 (patch) | |
tree | ece03db0308b940e918808d0b5857319e4e47d9f /activerecord/test/cases/associations/inverse_associations_test.rb | |
parent | 620f41c9a4eee2b05986caf86e23d63d3b703a52 (diff) | |
download | rails-8910f12fb4d86a58dedb36b19f4b2470337662e7.tar.gz rails-8910f12fb4d86a58dedb36b19f4b2470337662e7.tar.bz2 rails-8910f12fb4d86a58dedb36b19f4b2470337662e7.zip |
using assert_not instead of refute
Diffstat (limited to 'activerecord/test/cases/associations/inverse_associations_test.rb')
-rw-r--r-- | activerecord/test/cases/associations/inverse_associations_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/inverse_associations_test.rb b/activerecord/test/cases/associations/inverse_associations_test.rb index 71cf1237e8..ce78332124 100644 --- a/activerecord/test/cases/associations/inverse_associations_test.rb +++ b/activerecord/test/cases/associations/inverse_associations_test.rb @@ -406,7 +406,7 @@ class InverseHasManyTests < ActiveRecord::TestCase interest = Interest.create!(man: man) man.interests.find(interest.id) - refute man.interests.loaded? + assert_not man.interests.loaded? end def test_raise_record_not_found_error_when_invalid_ids_are_passed |