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
- 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
- with_options used with define_enum_for
- feat: Add support for validating multiple attributes at once
- refactor: Use `merge!` instead of `merge` when merging hashes by
- "Class" loaded more than once?
- counter_cache validation fails with Rails 7.2.beta
- Record uniqueness matcher fails with STI when type column is enum
- fix: with_high_message expects a custom validation message too
- "should have_and_belong_to_many" produces incorrect joined table name when overriding ActiveRecord::Base#table_name_prefix
- Docs
- Subscribe to help with docs for this repo and come back later