Skip to content

stub.instance_of doesn't work with records created with allocate #22

Description

@jpalermo

This makes any active record mocking really verbose. Instead of being able to do stub.instance_of(User).my_method I have to stub.proxy the call to find and then stub the returned records myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions