Skip to content

Demonstrate Validator Specs within rspec-rails-examples #106

New issue

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

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

Already on GitHub? # to your account

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

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

No branches or pull requests

1 participant