RubyGems Navigation menu

accept_values_for 0.4.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:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

  1. 0.9.3 - October 09, 2023 (9 KB)
  2. 0.9.2 - December 17, 2021 (9 KB)
  3. 0.9.1 - December 11, 2020 (9 KB)
  4. 0.9.0 - September 11, 2019 (8,5 KB)
  5. 0.7.5 - April 26, 2018 (8,5 KB)
  6. 0.4.1 - February 25, 2011 (8 KB)
Zeige alle Versionen (21 total)

Runtime Abhängigkeiten (2):

activerecord >= 3.0.0
rspec >= 0

Development Abhängigkeiten (2):

jeweler >= 0

Besitzer:

Autoren:

  • Bogdan Gusiev

SHA 256-Prüfsumme:

195fe3729872629d65d584fb40755663bca9e51b1f5b23b5f2f059096366dc16

Downloads insgesamt 597.279

Für diese Version 9.702

Lizenzen:

k.A.

Erforderliche Ruby-Version: None

Links: