Permalink
Browse files

cheat 1.8.7 not ordering hashes

  • Loading branch information...
JonRowe committed Aug 13, 2013
1 parent d1f72dd commit 476b9a046bd04b3b356a512efb73239426c02c77
Showing with 1 addition and 0 deletions.
  1. +1 −0 spec/rspec/mocks/matchers/receive_messages_spec.rb
@@ -56,6 +56,7 @@ module Mocks
it 'fails with a sensible message' do
expect(obj).to receive_messages(:a => 1, :b => 2)
+ obj.b
expect(expectation_error.to_s).to eq %Q{(Double "Object").a(no args)\n expected: 1 time with any arguments\n received: 0 times}
end

0 comments on commit 476b9a0

Please sign in to comment.