accept_values_for 0.7.2
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, >= 3
rspec
< 4.0, >= 2.0