Rspec: When you have a complex validation(e.g. regexp or custom method) on ActiveRecord model you have to write annoying easy specs on which values should be accepted by your validation method and which should not. accepts_values_for rspec matcher simplify the code. See example for more information.
Required Ruby Version
None
Authors
Bogdan Gusiev
Versions
- 0.9.6 October 22, 2025 (9.5 KB)
- 0.9.5 November 15, 2024 (9.5 KB)
- 0.9.3 October 09, 2023 (9 KB)
- 0.9.2 December 17, 2021 (9 KB)
- 0.9.1 December 11, 2020 (9 KB)
- 0.4.2 March 16, 2011 (8.5 KB)