Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix test, set is unordered and failed for me because items came in wr…

…ong order
  • Loading branch information...
commit 6f6d2aba13b1235ad56b935a11086191daa59d39 1 parent 7f1f56b
@sdsykes sdsykes authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/callsite_test.rb
View
2  test/callsite_test.rb
@@ -43,7 +43,7 @@ def setup
assert_equal @callsite.preload( [:column_privilege] ), [:column_privilege]
@callsite.association! :column_privilege
@callsite.association! :mysql_user
- assert_equal @callsite.preload( nil ), [:column_privilege, :mysql_user]
+ assert_equal @callsite.preload( nil ).sort_by(&:to_s), [:column_privilege, :mysql_user].sort_by(&:to_s)
end

0 comments on commit 6f6d2ab

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