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.

Unable to run specs with sunspot #845

@francescobbo

Description

@francescobbo

I recently created an issue in the sunspot repository, but I believe that this may belong here too. This is the link to the original issue: sunspot/sunspot#645

After a few hours of testing I found that sunspot relies on method_missing to implement the "boolean" method, but rspec-mocks is overriding the method_missing definition in sunspot, and so it result in errors during rspec setup. Tests are perfectly working with rspec up to 2.99, but once migrated to 3.0 or 3.1 (I tried with both versions) they won't run :( I am not actually sure whether this is rspec or sunspot fault but I hope that someone will find a solution.

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