Skip to content

State already defined  #360

Open
Open
@bidva

Description

@bidva

I have a model which contains 3 different state columns (state, background_check_status,permit_status)
background_check_status,permit_status has defined the same states (Submitted, Rejected, Accepted, Pending) now on running my tests I get this warning

State "Submitted" for :chauffeur_permit_status is already defined in :background_check_status
State "Rejected" for :chauffeur_permit_status is already defined in :background_check_status
State "Accepted" for :chauffeur_permit_status is already defined in :background_check_status
State "Pending" for :chauffeur_permit_status is already defined in :background_check_status

how can I turn this off?

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