RubyGems Navigation menu

accept_values_for 0.1.0

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
          gem 'accept_values_for', '~> 0.1.0'
  
  
  
  
  
  
  

install
          gem install accept_values_for -v 0.1.0
  
  
  
  
  
  
  

Authors:

  • Bogdan Gusiev

Owners:

Total downloads 92,297

For this version 6,551

Show all versions (13 total)

Required Ruby Version: None

Links:

Versions:

  1. 0.7.1 - June 19, 2014 (8.5 KB)
  2. 0.7.0 - March 22, 2014 (8.5 KB)
  3. 0.5.1 - October 20, 2013 (8 KB)
  4. 0.4.3 - March 29, 2011 (8.5 KB)
  5. 0.4.2 - March 15, 2011 (8.5 KB)
Show all versions (13 total)