Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #2272 from cesario/fix_relations_test

Simplify the test by using id and name.
  • Loading branch information...
commit cfd086a30298aef369d04a7d489d256699fef140 2 parents b4e5779 + 41902e6
@spastorino spastorino authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/test/cases/relations_test.rb
View
2  activerecord/test/cases/relations_test.rb
@@ -963,6 +963,6 @@ def test_eager_loading_with_conditions_on_joins
end
def test_ordering_with_extra_spaces
- assert_equal authors(:david), Author.order('organization_id ASC , owned_essay_id DESC').last
+ assert_equal authors(:david), Author.order('id DESC , name DESC').last
end
end

0 comments on commit cfd086a

Please sign in to comment.
Something went wrong with that request. Please try again.