diff options
author | Ken Barber <ken@bob.sh> | 2011-08-05 08:46:38 +0100 |
---|---|---|
committer | Ken Barber <ken@bob.sh> | 2011-08-05 08:46:38 +0100 |
commit | 1b73a66fc67af0e33fa41aacf50654d4a7a4903c (patch) | |
tree | 7810a9f5af68a74a6305f5db3c7d41330c8a85cc /spec/unit | |
parent | 681a1c7971d78c53dc9a0747ae4d983ff6b0d670 (diff) |
* Moved kwalify to puppetlabs-kwalify project
* Re-arranged tests in line with puppetlabs-stdlib
Diffstat (limited to 'spec/unit')
-rwxr-xr-x | spec/unit/parser/functions/kwalify_spec.rb | 62 | ||||
-rwxr-xr-x | spec/unit/puppet/parser/functions/abs_spec.rb (renamed from spec/unit/parser/functions/abs_spec.rb) | 0 | ||||
-rwxr-xr-x | spec/unit/puppet/parser/functions/bool2num_spec.rb (renamed from spec/unit/parser/functions/bool2num_spec.rb) | 0 | ||||
-rwxr-xr-x | spec/unit/puppet/parser/functions/capitalize_spec.rb (renamed from spec/unit/parser/functions/capitalize_spec.rb) | 0 | ||||
-rwxr-xr-x | spec/unit/puppet/parser/functions/chomp_spec.rb (renamed from spec/unit/parser/functions/chomp_spec.rb) | 0 | ||||
-rwxr-xr-x | spec/unit/puppet/parser/functions/chop_spec.rb (renamed from spec/unit/parser/functions/chop_spec.rb) | 0 | ||||
-rwxr-xr-x | spec/unit/puppet/parser/functions/delete_at_spec.rb (renamed from spec/unit/parser/functions/delete_at_spec.rb) | 0 | ||||
-rwxr-xr-x | spec/unit/puppet/parser/functions/delete_spec.rb (renamed from spec/unit/parser/functions/delete_spec.rb) | 0 | ||||
-rwxr-xr-x | spec/unit/puppet/parser/functions/downcase_spec.rb (renamed from spec/unit/parser/functions/downcase_spec.rb) | 0 | ||||
-rwxr-xr-x | spec/unit/puppet/parser/functions/empty_spec.rb (renamed from spec/unit/parser/functions/empty_spec.rb) | 0 | ||||
-rwxr-xr-x | spec/unit/puppet/parser/functions/flatten_spec.rb (renamed from spec/unit/parser/functions/flatten_spec.rb) | 0 | ||||
-rwxr-xr-x | spec/unit/puppet/parser/functions/grep_spec.rb (renamed from spec/unit/parser/functions/grep_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/hash_spec.rb (renamed from spec/unit/parser/functions/hash_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/is_array_spec.rb (renamed from spec/unit/parser/functions/is_array_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/is_domain_name_spec.rb (renamed from spec/unit/parser/functions/is_domain_name_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/is_float_spec.rb (renamed from spec/unit/parser/functions/is_float_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/is_hash_spec.rb (renamed from spec/unit/parser/functions/is_hash_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/is_integer_spec.rb (renamed from spec/unit/parser/functions/is_integer_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/is_ip_address_spec.rb (renamed from spec/unit/parser/functions/is_ip_address_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/is_mac_address_spec.rb (renamed from spec/unit/parser/functions/is_mac_address_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/is_numeric_spec.rb (renamed from spec/unit/parser/functions/is_numeric_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/is_string_spec.rb (renamed from spec/unit/parser/functions/is_string_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/join_spec.rb (renamed from spec/unit/parser/functions/join_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/keys_spec.rb (renamed from spec/unit/parser/functions/keys_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/lstrip_spec.rb (renamed from spec/unit/parser/functions/lstrip_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/member_spec.rb (renamed from spec/unit/parser/functions/member_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/num2bool_spec.rb (renamed from spec/unit/parser/functions/num2bool_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/parsejson_spec.rb (renamed from spec/unit/parser/functions/parsejson_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/parseyaml_spec.rb (renamed from spec/unit/parser/functions/parseyaml_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/prefix_spec.rb (renamed from spec/unit/parser/functions/prefix_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/range_spec.rb (renamed from spec/unit/parser/functions/range_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/reverse_spec.rb (renamed from spec/unit/parser/functions/reverse_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/rstrip_spec.rb (renamed from spec/unit/parser/functions/rstrip_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/shuffle_spec.rb (renamed from spec/unit/parser/functions/shuffle_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/size_spec.rb (renamed from spec/unit/parser/functions/size_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/sort_spec.rb (renamed from spec/unit/parser/functions/sort_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/squeeze_spec.rb (renamed from spec/unit/parser/functions/squeeze_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/str2bool_spec.rb (renamed from spec/unit/parser/functions/str2bool_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/strftime_spec.rb (renamed from spec/unit/parser/functions/strftime_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/strip_spec.rb (renamed from spec/unit/parser/functions/strip_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/swapcase_spec.rb (renamed from spec/unit/parser/functions/swapcase_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/time_spec.rb (renamed from spec/unit/parser/functions/time_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/type_spec.rb (renamed from spec/unit/parser/functions/type_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/unique_spec.rb (renamed from spec/unit/parser/functions/unique_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/upcase_spec.rb (renamed from spec/unit/parser/functions/upcase_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/values_at_spec.rb (renamed from spec/unit/parser/functions/values_at_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/values_spec.rb (renamed from spec/unit/parser/functions/values_spec.rb) | 0 | ||||
-rw-r--r-- | spec/unit/puppet/parser/functions/zip_spec.rb (renamed from spec/unit/parser/functions/zip_spec.rb) | 0 |
48 files changed, 0 insertions, 62 deletions
diff --git a/spec/unit/parser/functions/kwalify_spec.rb b/spec/unit/parser/functions/kwalify_spec.rb deleted file mode 100755 index abdd529..0000000 --- a/spec/unit/parser/functions/kwalify_spec.rb +++ /dev/null @@ -1,62 +0,0 @@ -#!/usr/bin/env rspec -require 'spec_helper' - -describe "the kwalify function" do - before :all do - Puppet::Parser::Functions.autoloader.loadall - end - - before :each do - @scope = Puppet::Parser::Scope.new - end - - it "should exist" do - Puppet::Parser::Functions.function("kwalify").should == "function_kwalify" - end - - it "should raise a ParseError if there is less than 2 arguments" do - lambda { @scope.function_kwalify([]) }.should( raise_error(Puppet::ParseError)) - end - - it "should validate a simple array schema" do - schema = { - 'type' => 'seq', - 'sequence' => [ - { 'type' => 'str' } - ] - } - document = ['a','b','c'] - @scope.function_kwalify([schema, document]) - end - - it "should not validate a simple array schema when invalid" do - schema = { - 'type' => 'seq', - 'sequence' => [ - { 'type' => 'str' } - ] - } - document = ['a','b',{'a' => 'b'}] - lambda { @scope.function_kwalify([schema, document]) }.should(raise_error(Puppet::ParseError)) - end - - it "should validate a hash schema" do - schema = { - 'type' => 'map', - 'mapping' => { - 'key1' => { - 'type' => 'str', - }, - 'key2' => { - 'type' => 'str', - }, - } - } - document = { - 'key1' => 'b', - 'key2' => 'c', - } - @scope.function_kwalify([schema, document]) - end - -end diff --git a/spec/unit/parser/functions/abs_spec.rb b/spec/unit/puppet/parser/functions/abs_spec.rb index 65ba2e8..65ba2e8 100755 --- a/spec/unit/parser/functions/abs_spec.rb +++ b/spec/unit/puppet/parser/functions/abs_spec.rb diff --git a/spec/unit/parser/functions/bool2num_spec.rb b/spec/unit/puppet/parser/functions/bool2num_spec.rb index d5da18c..d5da18c 100755 --- a/spec/unit/parser/functions/bool2num_spec.rb +++ b/spec/unit/puppet/parser/functions/bool2num_spec.rb diff --git a/spec/unit/parser/functions/capitalize_spec.rb b/spec/unit/puppet/parser/functions/capitalize_spec.rb index 1c45821..1c45821 100755 --- a/spec/unit/parser/functions/capitalize_spec.rb +++ b/spec/unit/puppet/parser/functions/capitalize_spec.rb diff --git a/spec/unit/parser/functions/chomp_spec.rb b/spec/unit/puppet/parser/functions/chomp_spec.rb index 0592115..0592115 100755 --- a/spec/unit/parser/functions/chomp_spec.rb +++ b/spec/unit/puppet/parser/functions/chomp_spec.rb diff --git a/spec/unit/parser/functions/chop_spec.rb b/spec/unit/puppet/parser/functions/chop_spec.rb index 0c456a8..0c456a8 100755 --- a/spec/unit/parser/functions/chop_spec.rb +++ b/spec/unit/puppet/parser/functions/chop_spec.rb diff --git a/spec/unit/parser/functions/delete_at_spec.rb b/spec/unit/puppet/parser/functions/delete_at_spec.rb index 27db0c8..27db0c8 100755 --- a/spec/unit/parser/functions/delete_at_spec.rb +++ b/spec/unit/puppet/parser/functions/delete_at_spec.rb diff --git a/spec/unit/parser/functions/delete_spec.rb b/spec/unit/puppet/parser/functions/delete_spec.rb index fab3230..fab3230 100755 --- a/spec/unit/parser/functions/delete_spec.rb +++ b/spec/unit/puppet/parser/functions/delete_spec.rb diff --git a/spec/unit/parser/functions/downcase_spec.rb b/spec/unit/puppet/parser/functions/downcase_spec.rb index 0bccd5f..0bccd5f 100755 --- a/spec/unit/parser/functions/downcase_spec.rb +++ b/spec/unit/puppet/parser/functions/downcase_spec.rb diff --git a/spec/unit/parser/functions/empty_spec.rb b/spec/unit/puppet/parser/functions/empty_spec.rb index cb0021f..cb0021f 100755 --- a/spec/unit/parser/functions/empty_spec.rb +++ b/spec/unit/puppet/parser/functions/empty_spec.rb diff --git a/spec/unit/parser/functions/flatten_spec.rb b/spec/unit/puppet/parser/functions/flatten_spec.rb index 7bedeb2..7bedeb2 100755 --- a/spec/unit/parser/functions/flatten_spec.rb +++ b/spec/unit/puppet/parser/functions/flatten_spec.rb diff --git a/spec/unit/parser/functions/grep_spec.rb b/spec/unit/puppet/parser/functions/grep_spec.rb index b1f647c..b1f647c 100755 --- a/spec/unit/parser/functions/grep_spec.rb +++ b/spec/unit/puppet/parser/functions/grep_spec.rb diff --git a/spec/unit/parser/functions/hash_spec.rb b/spec/unit/puppet/parser/functions/hash_spec.rb index 6d3d48c..6d3d48c 100644 --- a/spec/unit/parser/functions/hash_spec.rb +++ b/spec/unit/puppet/parser/functions/hash_spec.rb diff --git a/spec/unit/parser/functions/is_array_spec.rb b/spec/unit/puppet/parser/functions/is_array_spec.rb index 537595c..537595c 100644 --- a/spec/unit/parser/functions/is_array_spec.rb +++ b/spec/unit/puppet/parser/functions/is_array_spec.rb diff --git a/spec/unit/parser/functions/is_domain_name_spec.rb b/spec/unit/puppet/parser/functions/is_domain_name_spec.rb index ec7c7f5..ec7c7f5 100644 --- a/spec/unit/parser/functions/is_domain_name_spec.rb +++ b/spec/unit/puppet/parser/functions/is_domain_name_spec.rb diff --git a/spec/unit/parser/functions/is_float_spec.rb b/spec/unit/puppet/parser/functions/is_float_spec.rb index 55ba8cf..55ba8cf 100644 --- a/spec/unit/parser/functions/is_float_spec.rb +++ b/spec/unit/puppet/parser/functions/is_float_spec.rb diff --git a/spec/unit/parser/functions/is_hash_spec.rb b/spec/unit/puppet/parser/functions/is_hash_spec.rb index 94364f5..94364f5 100644 --- a/spec/unit/parser/functions/is_hash_spec.rb +++ b/spec/unit/puppet/parser/functions/is_hash_spec.rb diff --git a/spec/unit/parser/functions/is_integer_spec.rb b/spec/unit/puppet/parser/functions/is_integer_spec.rb index faf6f2d..faf6f2d 100644 --- a/spec/unit/parser/functions/is_integer_spec.rb +++ b/spec/unit/puppet/parser/functions/is_integer_spec.rb diff --git a/spec/unit/parser/functions/is_ip_address_spec.rb b/spec/unit/puppet/parser/functions/is_ip_address_spec.rb index 98ce828..98ce828 100644 --- a/spec/unit/parser/functions/is_ip_address_spec.rb +++ b/spec/unit/puppet/parser/functions/is_ip_address_spec.rb diff --git a/spec/unit/parser/functions/is_mac_address_spec.rb b/spec/unit/puppet/parser/functions/is_mac_address_spec.rb index c9b9637..c9b9637 100644 --- a/spec/unit/parser/functions/is_mac_address_spec.rb +++ b/spec/unit/puppet/parser/functions/is_mac_address_spec.rb diff --git a/spec/unit/parser/functions/is_numeric_spec.rb b/spec/unit/puppet/parser/functions/is_numeric_spec.rb index 2191b7b..2191b7b 100644 --- a/spec/unit/parser/functions/is_numeric_spec.rb +++ b/spec/unit/puppet/parser/functions/is_numeric_spec.rb diff --git a/spec/unit/parser/functions/is_string_spec.rb b/spec/unit/puppet/parser/functions/is_string_spec.rb index 4f3f5fd..4f3f5fd 100644 --- a/spec/unit/parser/functions/is_string_spec.rb +++ b/spec/unit/puppet/parser/functions/is_string_spec.rb diff --git a/spec/unit/parser/functions/join_spec.rb b/spec/unit/puppet/parser/functions/join_spec.rb index 1b3dec8..1b3dec8 100644 --- a/spec/unit/parser/functions/join_spec.rb +++ b/spec/unit/puppet/parser/functions/join_spec.rb diff --git a/spec/unit/parser/functions/keys_spec.rb b/spec/unit/puppet/parser/functions/keys_spec.rb index 927be96..927be96 100644 --- a/spec/unit/parser/functions/keys_spec.rb +++ b/spec/unit/puppet/parser/functions/keys_spec.rb diff --git a/spec/unit/parser/functions/lstrip_spec.rb b/spec/unit/puppet/parser/functions/lstrip_spec.rb index ac331fa..ac331fa 100644 --- a/spec/unit/parser/functions/lstrip_spec.rb +++ b/spec/unit/puppet/parser/functions/lstrip_spec.rb diff --git a/spec/unit/parser/functions/member_spec.rb b/spec/unit/puppet/parser/functions/member_spec.rb index 2cebc0d..2cebc0d 100644 --- a/spec/unit/parser/functions/member_spec.rb +++ b/spec/unit/puppet/parser/functions/member_spec.rb diff --git a/spec/unit/parser/functions/num2bool_spec.rb b/spec/unit/puppet/parser/functions/num2bool_spec.rb index 6585273..6585273 100644 --- a/spec/unit/parser/functions/num2bool_spec.rb +++ b/spec/unit/puppet/parser/functions/num2bool_spec.rb diff --git a/spec/unit/parser/functions/parsejson_spec.rb b/spec/unit/puppet/parser/functions/parsejson_spec.rb index 26eea36..26eea36 100644 --- a/spec/unit/parser/functions/parsejson_spec.rb +++ b/spec/unit/puppet/parser/functions/parsejson_spec.rb diff --git a/spec/unit/parser/functions/parseyaml_spec.rb b/spec/unit/puppet/parser/functions/parseyaml_spec.rb index f9cb049..f9cb049 100644 --- a/spec/unit/parser/functions/parseyaml_spec.rb +++ b/spec/unit/puppet/parser/functions/parseyaml_spec.rb diff --git a/spec/unit/parser/functions/prefix_spec.rb b/spec/unit/puppet/parser/functions/prefix_spec.rb index a0cbcab..a0cbcab 100644 --- a/spec/unit/parser/functions/prefix_spec.rb +++ b/spec/unit/puppet/parser/functions/prefix_spec.rb diff --git a/spec/unit/parser/functions/range_spec.rb b/spec/unit/puppet/parser/functions/range_spec.rb index 8c2446a..8c2446a 100644 --- a/spec/unit/parser/functions/range_spec.rb +++ b/spec/unit/puppet/parser/functions/range_spec.rb diff --git a/spec/unit/parser/functions/reverse_spec.rb b/spec/unit/puppet/parser/functions/reverse_spec.rb index 4fa50e4..4fa50e4 100644 --- a/spec/unit/parser/functions/reverse_spec.rb +++ b/spec/unit/puppet/parser/functions/reverse_spec.rb diff --git a/spec/unit/parser/functions/rstrip_spec.rb b/spec/unit/puppet/parser/functions/rstrip_spec.rb index af8cc12..af8cc12 100644 --- a/spec/unit/parser/functions/rstrip_spec.rb +++ b/spec/unit/puppet/parser/functions/rstrip_spec.rb diff --git a/spec/unit/parser/functions/shuffle_spec.rb b/spec/unit/puppet/parser/functions/shuffle_spec.rb index f04fda5..f04fda5 100644 --- a/spec/unit/parser/functions/shuffle_spec.rb +++ b/spec/unit/puppet/parser/functions/shuffle_spec.rb diff --git a/spec/unit/parser/functions/size_spec.rb b/spec/unit/puppet/parser/functions/size_spec.rb index ccaa335..ccaa335 100644 --- a/spec/unit/parser/functions/size_spec.rb +++ b/spec/unit/puppet/parser/functions/size_spec.rb diff --git a/spec/unit/parser/functions/sort_spec.rb b/spec/unit/puppet/parser/functions/sort_spec.rb index fbe3073..fbe3073 100644 --- a/spec/unit/parser/functions/sort_spec.rb +++ b/spec/unit/puppet/parser/functions/sort_spec.rb diff --git a/spec/unit/parser/functions/squeeze_spec.rb b/spec/unit/puppet/parser/functions/squeeze_spec.rb index 9355ad2..9355ad2 100644 --- a/spec/unit/parser/functions/squeeze_spec.rb +++ b/spec/unit/puppet/parser/functions/squeeze_spec.rb diff --git a/spec/unit/parser/functions/str2bool_spec.rb b/spec/unit/puppet/parser/functions/str2bool_spec.rb index d7f0ac9..d7f0ac9 100644 --- a/spec/unit/parser/functions/str2bool_spec.rb +++ b/spec/unit/puppet/parser/functions/str2bool_spec.rb diff --git a/spec/unit/parser/functions/strftime_spec.rb b/spec/unit/puppet/parser/functions/strftime_spec.rb index f7a2cd9..f7a2cd9 100644 --- a/spec/unit/parser/functions/strftime_spec.rb +++ b/spec/unit/puppet/parser/functions/strftime_spec.rb diff --git a/spec/unit/parser/functions/strip_spec.rb b/spec/unit/puppet/parser/functions/strip_spec.rb index 48a52dd..48a52dd 100644 --- a/spec/unit/parser/functions/strip_spec.rb +++ b/spec/unit/puppet/parser/functions/strip_spec.rb diff --git a/spec/unit/parser/functions/swapcase_spec.rb b/spec/unit/puppet/parser/functions/swapcase_spec.rb index 2686054..2686054 100644 --- a/spec/unit/parser/functions/swapcase_spec.rb +++ b/spec/unit/puppet/parser/functions/swapcase_spec.rb diff --git a/spec/unit/parser/functions/time_spec.rb b/spec/unit/puppet/parser/functions/time_spec.rb index 666e8e0..666e8e0 100644 --- a/spec/unit/parser/functions/time_spec.rb +++ b/spec/unit/puppet/parser/functions/time_spec.rb diff --git a/spec/unit/parser/functions/type_spec.rb b/spec/unit/puppet/parser/functions/type_spec.rb index e3c28ed..e3c28ed 100644 --- a/spec/unit/parser/functions/type_spec.rb +++ b/spec/unit/puppet/parser/functions/type_spec.rb diff --git a/spec/unit/parser/functions/unique_spec.rb b/spec/unit/puppet/parser/functions/unique_spec.rb index 627dc33..627dc33 100644 --- a/spec/unit/parser/functions/unique_spec.rb +++ b/spec/unit/puppet/parser/functions/unique_spec.rb diff --git a/spec/unit/parser/functions/upcase_spec.rb b/spec/unit/puppet/parser/functions/upcase_spec.rb index 5d18846..5d18846 100644 --- a/spec/unit/parser/functions/upcase_spec.rb +++ b/spec/unit/puppet/parser/functions/upcase_spec.rb diff --git a/spec/unit/parser/functions/values_at_spec.rb b/spec/unit/puppet/parser/functions/values_at_spec.rb index 6c45316..6c45316 100644 --- a/spec/unit/parser/functions/values_at_spec.rb +++ b/spec/unit/puppet/parser/functions/values_at_spec.rb diff --git a/spec/unit/parser/functions/values_spec.rb b/spec/unit/puppet/parser/functions/values_spec.rb index f6eb5b6..f6eb5b6 100644 --- a/spec/unit/parser/functions/values_spec.rb +++ b/spec/unit/puppet/parser/functions/values_spec.rb diff --git a/spec/unit/parser/functions/zip_spec.rb b/spec/unit/puppet/parser/functions/zip_spec.rb index 074f4df..074f4df 100644 --- a/spec/unit/parser/functions/zip_spec.rb +++ b/spec/unit/puppet/parser/functions/zip_spec.rb |