]> gitweb.fluxo.info Git - puppet-stdlib.git/commitdiff
small fix to delete_values_spec.rb and README.markdown
authorPaweł Tomulik <ptomulik@meil.pw.edu.pl>
Wed, 14 Aug 2013 00:23:36 +0000 (02:23 +0200)
committerPaweł Tomulik <ptomulik@meil.pw.edu.pl>
Wed, 14 Aug 2013 00:23:36 +0000 (02:23 +0200)
README.markdown
spec/unit/puppet/parser/functions/delete_values_spec.rb

index 1e51e1debec78974ffef6fff341eea1d95ce6964..a176d889f0e3ae22859ba7576613a64d8eb188e8 100644 (file)
@@ -215,6 +215,8 @@ Deletes all instances of a given value from a hash.
 Would return: {'a'=>'A','c'=>'C','B'=>'D'}
 
 
+- *Type*: rvalue
+
 delete_undef_values
 -------------------
 Deletes all instances of the undef value from an array or hash.
index e15c36682e74fa96d17affb214edcae11b64197e..c62e55f395a9f650862f944f8c68cee52cf21631 100644 (file)
@@ -13,7 +13,7 @@ describe "the delete_values function" do
   end
 
   it "should raise a ParseError if there are greater than 2 arguments" do
-    lambda { scope.function_delete([[], 'foo', 'bar']) }.should( raise_error(Puppet::ParseError))
+    lambda { scope.function_delete_values([[], 'foo', 'bar']) }.should( raise_error(Puppet::ParseError))
   end
 
   it "should raise a TypeError if the argument is not a hash" do