RubyGems Navigation menu

accept_values_for 0.5.1

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:
= Copier Copié!

installation:
=

Versions:

  1. 0.9.3 - October 09, 2023 (9 ko)
  2. 0.9.2 - December 17, 2021 (9 ko)
  3. 0.9.1 - December 11, 2020 (9 ko)
  4. 0.9.0 - September 11, 2019 (8,5 ko)
  5. 0.7.5 - April 26, 2018 (8,5 ko)
  6. 0.5.1 - October 20, 2013 (8 ko)
Voir toutes les versions (21)

Dépendances de Runtime (1):

activemodel ~> 3.2.0

Dépendances de Development (5):

jeweler >= 0
rails ~> 3.2.0
rspec >= 0
rspec-rails >= 2.0.0

Propriétaires:

Auteurs:

  • Bogdan Gusiev

Total de contrôle SHA 256:

b781f11a7fbec840bc8dd0fe0c770afe3c6e3a1bb9301ef7243f5577cc283550

Total de téléchargements 596 084

Pour cette version 10 762

License:

aucune

Version de Ruby requise: None

Liens: