Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

instance_double not matching the same class it is mocking #794

Closed
@plukevdh

Description

@plukevdh

I have a test case wherin an instance_double of a class does not think it is a kind_of/is_a/=== of the mocked class.

https://gist.github.com/plukevdh/7438f96ec0bd4dd65de8

May be related to issue filed/closed #749. Am I misunderstanding how this ought to work?

Currently using RSpec 3.1.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions