rspec/rspec-mocks — pull request #358 by JonRowe (2013-07-10 11:33:04+00:00)
Title: Ensure null objects behave correctly with to_a and to_ary

Further to #357 we could return `nil` when the `double` is a `as_null_object`, we shouldn't change the behaviour when it's not a null object but this could be considered slightly more correct behaviour.