Browse files

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

…ong order
  • Loading branch information...
1 parent 7f1f56b commit 6f6d2aba13b1235ad56b935a11086191daa59d39 @sdsykes sdsykes committed Mar 21, 2009
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.