RubyGems Navigation menu

accept_values_for 0.4.2

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.4.2 - March 16, 2011 (8.5 KB)
顯示所有版本(共 21)

Runtime 相依性套件 (2):

activemodel >= 3.0.0
rspec >= 0

Development 相依性套件 (4):

activerecord >= 3.0.0
jeweler >= 0
rspec-rails >= 2.0.0

擁有者:

作者:

  • Bogdan Gusiev

SHA 256 checksum:

2914b177a5c5e1a55915a340f0f1b3cb584f44517e21fef4a5dcc48c8c048bd2

總下載次數 597,303

這個版本 9,992

License:

Ruby 版本需求:

相關連結: