1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

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