RubyGems Navigation menu

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:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.9.3 - October 09, 2023 (9.0 KB)
  2. 0.9.2 - December 17, 2021 (9.0 KB)
  3. 0.9.1 - December 11, 2020 (9.0 KB)
  4. 0.9.0 - September 11, 2019 (8.5 KB)
  5. 0.7.5 - April 26, 2018 (8.5 KB)
  6. 0.2.0 - May 14, 2010 (5.5 KB)
显示所有版本 (共 21 个)

Runtime 依赖 (2):

rspec >= 0

业主:

作者:

  • Bogdan Gusiev

SHA 256 校验和:

354a5ef27d906c0268f633230dac4d2dfa249f81e1ca898a09583026e856b1e4

下载总量 597,373

这个版本 10,277

许可:

需要的 Ruby 版本:

链接: