Open
Description
The following code...
mock(Reference).create(hash_including(:name => "Chris", :requested_email => "blah@blah.com")) do
OpenStruct.new(:id => 123)
end
Fails with this error message...
expected invocations:
- create(hash_including({"name"=>"Chris", "requested_email"=>"blah@blah.com"}))
Notice that when I call hash_including, I use symbols, but then RR changes them to strings.
I'm using version 1.1.1, Rails 3.2.13, rspec-rails 2.12.2.
Thanks.