rspec/rspec-mocks — pull request #360 by JonRowe (2013-07-10 22:44:11+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.

This is #358 based off 2-14 in case we want to backport this.