Imagine a universe where I am good at writing ruby. In that universe these
lines don't exist.

I'll fix it when I get back to london.

Sent from my phone please excuse my brevity.

On 7 Apr 2014, at 13:37, Jon Rowe <notifications@github.com> wrote:

In spec/rspec/mocks/any_instance_spec.rb:

> @@ -426,8 +426,8 @@ def inspect
>            expect_any_instance_of(klass).to receive(:foo).with(2).and_return(2)
>            expect(instance.foo(2)).to eq(2)
>
> -          # TODO: this shouldn't be necessary to satisfy the expectation, but is.
> -          klass.new.foo(2)
> +          #  # TODO: this shouldn't be necessary to satisfy the expectation, but is.
> +          #  klass.new.foo(2)

Why not just remove this like below ;)

--
Reply to this email directly or view it on
GitHub<https://github.com/rspec/rspec-mocks/pull/654/files#r11339854>
.