diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-04-11 15:46:49 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-04-11 15:46:49 -0300 |
commit | 8d11fbf679e17c277ddf5bf52311f0e824ebae46 (patch) | |
tree | a1910daaec4c5be938d71d16ccf508bab5bd8813 /activerecord | |
parent | bf98261da6eeff2676e29df3c74e4cd913078d73 (diff) | |
download | rails-8d11fbf679e17c277ddf5bf52311f0e824ebae46.tar.gz rails-8d11fbf679e17c277ddf5bf52311f0e824ebae46.tar.bz2 rails-8d11fbf679e17c277ddf5bf52311f0e824ebae46.zip |
Use assert_not
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/relations_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/relations_test.rb b/activerecord/test/cases/relations_test.rb index 561f6451cd..562cfe6796 100644 --- a/activerecord/test/cases/relations_test.rb +++ b/activerecord/test/cases/relations_test.rb @@ -831,7 +831,7 @@ class RelationTest < ActiveRecord::TestCase assert_equal 11, posts.size assert posts.any? assert posts.many? - assert ! posts.empty? + assert_not posts.empty? end def test_select_takes_a_variable_list_of_args |