Shoulda::Matchers::ActiveModel::ValidationMatcher
Examples:
it { should validate_numericality_of(:attr). is_greater_than(6). less_than(20)...(and so on) }
# File lib/shoulda/matchers/active_model/comparison_matcher.rb, line 24 def allowed_types 'integer' end
Generated with the Darkfish Rdoc Generator 2.