Permalink
Browse files

Use assert_not

  • Loading branch information...
1 parent bf98261 commit 8d11fbf679e17c277ddf5bf52311f0e824ebae46 @rafaelfranca rafaelfranca committed Apr 11, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/relations_test.rb
@@ -831,7 +831,7 @@ def test_select_with_aggregates
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

0 comments on commit 8d11fbf

Please sign in to comment.