RubyGems Navigation menu

accept_values_for 0.4.3

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 (9KB)
  2. 0.9.2 - December 17, 2021 (9KB)
  3. 0.9.1 - December 11, 2020 (9KB)
  4. 0.9.0 - September 11, 2019 (8.5KB)
  5. 0.7.5 - April 26, 2018 (8.5KB)
  6. 0.4.3 - March 30, 2011 (8.5KB)
全てのバージョンを表示(全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チェックサム:

4719d3a9edc3e5fc69be2b7fba9caf7364018b4c6ca757fcd50e110ba2eff751

累計ダウンロード数 597,102

このバージョンのみ 34,233

ライセンス:

N/A

必要なRubyのバージョン: なし

リンク: