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

Address CI failure due to non-deterministic query result

https://travis-ci.org/rails/rails/jobs/375326992#L1160-L1166
This commit is contained in:
Ryuta Kamizono 2018-05-06 07:39:43 +09:00
parent be9a32b65f
commit 61f3ae7cc3

View file

@ -414,7 +414,7 @@ class FinderTest < ActiveRecord::TestCase
end
def test_take
assert_equal topics(:first), Topic.take
assert_equal topics(:first), Topic.where("title = 'The First Topic'").take
end
def test_take_failing