rails/rails — pull request #8634 by senny (2012-12-27 16:31:52+00:00)
Title: rewrite order dependent test case

source issue: #8185

As reported (https://github.com/rails/rails/pull/8185#issuecomment-11702226)
this test relied on the order a hash was serialized. Comparing the parsed
hash makes the test no longer order dependent.