summaryrefslogtreecommitdiff
path: root/spec/functions/validate_ipv4_address_spec.rb
AgeCommit message (Collapse)Author
2016-10-25(MODULES-3980) Fix ipv4 regex validatorDavid Schmitt
This also updates all ipv4 tests to use the same test data for better comparability. Closes #676, #679 Fix-Originally-By: Nate Potter <nathaniel.potter@intel.com>
2016-10-03Replace :context with :all in spec testsHelen Campbell
2016-09-05Deprecation function to be mutable in all casesHelen Campbell
2016-08-17Deprecation of ip functionsHelen Campbell
2015-06-01Convert tests to use plain rspec-puppetDavid Schmitt
Tests in the new style produces the following documentation output: abs should not eq nil should run abs() and raise an Puppet::ParseError should run abs(-34) and return 34 should run abs("-34") and return 34 should run abs(34) and return 34 should run abs("34") and return 34
2015-04-23specs: loosen certain error expectations to make tests pass on future parserDavid Schmitt
2014-05-08Move unit tests to spec/functionsHunter Haugen
rspec-puppet matchers are defined for tests which exist in spec/functions, but the function unit tests lived in spec/unit/puppet/parser/functions. This moves them to the correct place for using rspec-puppet