RubyGems.org

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.

installgem install accept_values_for
Authors

Bogdan Gusiev

43,755 total downloads 11,618 for this version
Owners

91913f6ab8085bab0f2aa43995ba8ca2

Gemfile
gem "accept_values_for", "~> 0.4.3"
Versions
  1. 0.4.3 March 29, 2011
  2. 0.4.2 March 15, 2011
  3. 0.4.1 February 24, 2011
  4. 0.3.1 September 8, 2010
  5. 0.3.0 July 11, 2010
Show all versions (10 total)