accept_values_for 0.7.3
Writing specs for complex validations is annoying. AcceptValuesFor makes iteasy to test your validations with real world values, asserting which valuesshould be accepted by your model and which should not.
Gemfile:
=
复制到剪贴板
已复制!
安装:
=
Runtime 依赖 (2):
activemodel
< 5.1, >= 4.2
rspec
< 4.0, >= 2.0