Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-05-08 | Move unit tests to spec/functions | Hunter 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 | |||
2014-05-07 | Add mode +x to spec .rb files | Hunter Haugen | |
2014-02-05 | Remove trailing whitespace | Sharif Nassar | |
2013-09-17 | (#20681) fix behaviour of delete_values | Leonardo Rodrigues de Mello | |
The issue #20681 describe the error of delete() function removing the elements from the origin array/hash/string. This issue affected other delete functions. Because ruby delete and delete_if functions make destructive changes to the origin array/hash. The delete_undef_values removed elements from the origin hash and this is not the desired behaviour. To solve this, we should dup or clone the hash before using the delete or delete_if ruby functions. This fix the problem and add unit tests, so we could enforce this behaviour and prevent regressions. | |||
2013-08-14 | small fix to delete_values_spec.rb and README.markdown | Paweł Tomulik | |
2013-08-05 | added delete_values() and delete_undef_values() functions | Paweł Tomulik | |