accept_values_for 0.2.0
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.
Gemfile:
=
安裝:
=
Runtime 相依性套件 (2):
activerecord
>= 0
rspec
>= 0