Class: SequelSpec::Matchers::Validation::ValidateSchemaTypesMatcher
- Inherits:
-
ValidateMatcher
- Object
- Base
- ValidateMatcher
- SequelSpec::Matchers::Validation::ValidateSchemaTypesMatcher
- Defined in:
- lib/sequel_spec/validation/validate_schema_types_matcher.rb
Instance Method Summary collapse
Methods inherited from ValidateMatcher
#additionnal_param_required?, #allowing_blank, #allowing_missing, #allowing_nil, #args_to_called_attributes, #valid?, #with_message
Methods inherited from Base
#failure_message, #hash_to_nice_string, #initialize, #matches?, #negative_failure_message, #with_options
Constructor Details
This class inherits a constructor from SequelSpec::Matchers::Base
Instance Method Details
#description ⇒ Object
5 6 7 8 9 |
# File 'lib/sequel_spec/validation/validate_schema_types_matcher.rb', line 5 def description desc = "validate schema types of #{@attribute.inspect}" desc << " with option(s) #{hash_to_nice_string @options}" unless @options.empty? desc end |
#validation_type ⇒ Object
11 12 13 |
# File 'lib/sequel_spec/validation/validate_schema_types_matcher.rb', line 11 def validation_type :validates_schema_types end |