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

Remove duplicated test_find_last

This is completely same with `test_last`.
This commit is contained in:
Ryuta Kamizono 2019-04-05 10:02:25 +09:00
parent 3e5e1f9482
commit 9972d8353d

View file

@ -1035,11 +1035,6 @@ class BasicsTest < ActiveRecord::TestCase
end
end
def test_find_last
last = Developer.last
assert_equal last, Developer.all.merge!(order: "id desc").first
end
def test_last
assert_equal Developer.all.merge!(order: "id desc").first, Developer.last
end