Skip to content
This repository was archived by the owner on Aug 3, 2021. It is now read-only.
This repository was archived by the owner on Aug 3, 2021. It is now read-only.

RSpec test not passing for validating uniqueness of email in spec/models/contact_spec.rb #103

@trekr5

Description

@trekr5

Hello,

Can someone please help?

I've created the rspec test for validating uniqueness of email in spec/models/contact_spec.rb and run it (exactly the way it's done in everydayrails) and it isn't passing.

I get the following error:
ArgumentError: Unknown validator: 'UniquesnessValidator'

I'm running rails 4.0.3, rspec 2.14.8 and ruby 2.1.0

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