switch `assert_operator` arguments as discussed in #16860.

Working with two different machines is hard 😓
This commit is contained in:
Yves Senn 2014-09-11 08:07:35 +02:00
parent 16868b53f9
commit e581b01116
1 changed files with 1 additions and 1 deletions

View File

@ -421,7 +421,7 @@ class RelationTest < ActiveRecord::TestCase
end
def test_null_relation_in_where_condition
assert_operator 0, :<, Comment.count # precondition, make sure there are comments.
assert_operator Comment.count, :>, 0 # precondition, make sure there are comments.
assert_equal 0, Comment.where(post_id: Post.none).to_a.size
end