BenEddy/mock_relation — pull request #1 by irohiroki (2014-03-13 01:51:09+00:00)
Title: mock relation can't mock other than scopes

I like to make a mock relation mock/stub other methods, like `count`. imagine:

before { relation.stub(count: 1) }

but actually the stubbing method will be stripped by cloning the relation in record_invocation.

why is it necessary to clone there?