Skip to content

Tenacity::ObjectDoesNotExistError thrown for mocks/stubs #44

@w1150n

Description

@w1150n

In my rspec tests I use stubbed foreign id's which causes Tenacity::ObjectDoesNotExistError errors to be thrown from t_belongs_to associations. Is there a way to make existence validation optional?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions