Skip to content
This repository has been 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

Open
trekr5 opened this issue Apr 13, 2014 · 0 comments

Comments

@trekr5
Copy link

trekr5 commented Apr 13, 2014

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant