Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix tests in 1.8.7

  • Loading branch information...
commit 85f8458e1bd41dfa87b33eafc5e097deeb370f13 1 parent 7e2de38
@spastorino spastorino authored
View
2  activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb
@@ -648,7 +648,7 @@ def test_habtm_respects_select
end
def test_habtm_selects_all_columns_by_default
- assert_equal Project.column_names, developers(:david).projects.first.attributes.keys
+ assert_equal Project.column_names.sort, developers(:david).projects.first.attributes.keys.sort
end
def test_habtm_respects_select_query_method
View
2  activerecord/test/cases/associations/has_many_associations_test.rb
@@ -486,7 +486,7 @@ def test_find_scoped_grouped_having
end
def test_default_select
- assert_equal Comment.column_names, posts(:welcome).comments.first.attributes.keys
+ assert_equal Comment.column_names.sort, posts(:welcome).comments.first.attributes.keys.sort
end
def test_select_query_method
Please sign in to comment.
Something went wrong with that request. Please try again.