Skip to content

Deleting validate_uniquess_of(:url) in validations_and_associations.md ? #99

@ryanzidago

Description

@ryanzidago

Wouldn't it be clearer to get rid of the following line of code:

it { is_expected.to validate_uniqueness_of(:url) }

in validations_and_associations.md, since urls are not expected to be unique (see link_spec.rb)?

I went on to add the corresponding code for validating the uniqueness of urls before realizing the urls do not need to be unique and uniqueness of urls are not implemented in the example_app.

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