Using RSpec Shared Examples with Aggregate Failures for DRY Model Validation Tests
Learn how to extract repeated validation specs into a shared example, pass model‑specific arguments, and use aggregate_failures to see all expectation mismatches at once.