Note to future readers: think RSpec does not consider your Hashes equal? One might be an OrderedHash, but from the regular RSpec output you can\'t tell. This was the problem tha
Since 8 months the gem rspec-matchers has support for matching hashes:
rspec-matchers
expected.should be_hash_matching(subhash_or_equal)
see here for more details: https://github.com/rspec/rspec-expectations/pull/79