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.

Versions:

  1. 0.7.2 - February 25, 2015 (8.5 KB)
  2. 0.7.1 - June 19, 2014 (8.5 KB)
  3. 0.7.0 - March 22, 2014 (8.5 KB)
  4. 0.5.1 - October 20, 2013 (8 KB)
  5. 0.4.3 - March 29, 2011 (8.5 KB)
Show all versions (14 total)

Runtime Dependencies:

Authors:

  • Bogdan Gusiev

Owners:

91913f6ab8085bab0f2aa43995ba8ca2

SHA 256 checksum:

354a5ef27d906c0268f633230dac4d2dfa249f81e1ca898a09583026e856b1e4

Total downloads 132,342

For this version 7,547

Show all versions (14 total)

Gemfile:
= Copy to clipboard Copied!

install:
= Copy to clipboard Copied!

Licenses:

N/A

Required Ruby Version: None

Links: