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:
parent
3e5e1f9482
commit
9972d8353d
1 changed files with 0 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue