diff options
author | David Schmitt <david.schmitt@puppet.com> | 2016-09-06 11:18:48 +0100 |
---|---|---|
committer | David Schmitt <david.schmitt@puppet.com> | 2016-09-07 16:37:57 +0100 |
commit | f1edd2715a755573d7578839a3efe8473b79b5c5 (patch) | |
tree | e223708e8404e6e52d4c2fafef3322bfea7f2ee7 /spec/aliases/string_spec.rb | |
parent | 2b56ebd3e16112f8260519af0cd65a3d17fbfaeb (diff) |
(MODULES-3737) validate_legacy: refactoring
* validate_legacy now accepts undef values
* update the TypeMismatch message to include the original validate function name
* only notice, not warn, on newly allowed values
* changed previous_validation to function_name to avoid confusion with the function of the same name
* use deprecation() instead of warn(), when hitting a deprecated value
* prepare the tests and function for MODULES-3735
* rewrite validate_legacy tests to use new rspec-puppet
* move validate_re deprecation to puppet4 only
* adapt validate_re_spec
Diffstat (limited to 'spec/aliases/string_spec.rb')
0 files changed, 0 insertions, 0 deletions