Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demonstrate Validator Specs within rspec-rails-examples #106

Open
eliotsykes opened this issue Dec 20, 2015 · 1 comment
Open

Demonstrate Validator Specs within rspec-rails-examples #106

eliotsykes opened this issue Dec 20, 2015 · 1 comment

Comments

@eliotsykes
Copy link
Owner

  • Test the validator class itself
  • Write a matcher for the custom validator that follows the shoulda-matchers `validates_*_of`` style
@eliotsykes eliotsykes changed the title Add example of testing custom validator Demonstrate Validator Specs within rspec-rails-examples Dec 22, 2015
@eliotsykes
Copy link
Owner Author

Research: see Validator Specs section in README

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

No branches or pull requests

1 participant