shoulda-matchers
https://github.com/thoughtbot/shoulda-matchers
Ruby
Simple one-liner tests for common Rails functionality
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
1 Subscribers
Add a CodeTriage badge to shoulda-matchers
Help out
- Issues
- Add qualifiers for has_secure_password options (validations:, reset_token:)
- Expand encrypt matcher to cover more qualifiers (previous, key_provider, compressor, support_unencrypted_data)
- Normalize-Matcher option to assert normalization callable is defined for "normalize with:"
- define_enum_for with attribute
- Different prefixes are not detected by `with_prefix`
- should `validate_uniqueness_of` is expecting an invalid record with a different scoped value, which would be valid
- Matcher validate_comparison_of is not working with ActiveRecord objects
- feat: Add support for validating multiple attributes at once
- "Class" loaded more than once?
- counter_cache validation fails with Rails 7.2.beta
- Docs
- Subscribe to help with docs for this repo and come back later