From 96e43e69d8496926ad4951534e75b204bb279f22 Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Thu, 8 May 2014 10:47:24 -0700 Subject: [PATCH] Move unit tests to spec/functions 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 --- spec/{unit/puppet/parser => }/functions/abs_spec.rb | 0 spec/{unit/puppet/parser => }/functions/any2array_spec.rb | 0 spec/{unit/puppet/parser => }/functions/base64_spec.rb | 0 spec/{unit/puppet/parser => }/functions/bool2num_spec.rb | 0 spec/{unit/puppet/parser => }/functions/capitalize_spec.rb | 0 spec/{unit/puppet/parser => }/functions/chomp_spec.rb | 0 spec/{unit/puppet/parser => }/functions/chop_spec.rb | 0 spec/{unit/puppet/parser => }/functions/concat_spec.rb | 0 spec/{unit/puppet/parser => }/functions/count_spec.rb | 0 spec/{unit/puppet/parser => }/functions/deep_merge_spec.rb | 0 .../puppet/parser => }/functions/defined_with_params_spec.rb | 0 spec/{unit/puppet/parser => }/functions/delete_at_spec.rb | 0 spec/{unit/puppet/parser => }/functions/delete_spec.rb | 0 .../puppet/parser => }/functions/delete_undef_values_spec.rb | 0 spec/{unit/puppet/parser => }/functions/delete_values_spec.rb | 0 spec/{unit/puppet/parser => }/functions/difference_spec.rb | 0 spec/{unit/puppet/parser => }/functions/dirname_spec.rb | 0 spec/{unit/puppet/parser => }/functions/downcase_spec.rb | 0 spec/{unit/puppet/parser => }/functions/empty_spec.rb | 0 spec/{unit/puppet/parser => }/functions/ensure_packages_spec.rb | 0 spec/{unit/puppet/parser => }/functions/ensure_resource_spec.rb | 0 spec/{unit/puppet/parser => }/functions/flatten_spec.rb | 0 spec/{unit/puppet/parser => }/functions/floor_spec.rb | 0 spec/{unit/puppet/parser => }/functions/fqdn_rotate_spec.rb | 0 spec/{unit/puppet/parser => }/functions/get_module_path_spec.rb | 0 spec/{unit/puppet/parser => }/functions/getparam_spec.rb | 0 spec/{unit/puppet/parser => }/functions/getvar_spec.rb | 0 spec/{unit/puppet/parser => }/functions/grep_spec.rb | 0 .../{unit/puppet/parser => }/functions/has_interface_with_spec.rb | 0 spec/{unit/puppet/parser => }/functions/has_ip_address_spec.rb | 0 spec/{unit/puppet/parser => }/functions/has_ip_network_spec.rb | 0 spec/{unit/puppet/parser => }/functions/has_key_spec.rb | 0 spec/{unit/puppet/parser => }/functions/hash_spec.rb | 0 spec/{unit/puppet/parser => }/functions/intersection_spec.rb | 0 spec/{unit/puppet/parser => }/functions/is_array_spec.rb | 0 spec/{unit/puppet/parser => }/functions/is_bool_spec.rb | 0 spec/{unit/puppet/parser => }/functions/is_domain_name_spec.rb | 0 spec/{unit/puppet/parser => }/functions/is_float_spec.rb | 0 spec/{unit/puppet/parser => }/functions/is_function_available.rb | 0 spec/{unit/puppet/parser => }/functions/is_hash_spec.rb | 0 spec/{unit/puppet/parser => }/functions/is_integer_spec.rb | 0 spec/{unit/puppet/parser => }/functions/is_ip_address_spec.rb | 0 spec/{unit/puppet/parser => }/functions/is_mac_address_spec.rb | 0 spec/{unit/puppet/parser => }/functions/is_numeric_spec.rb | 0 spec/{unit/puppet/parser => }/functions/is_string_spec.rb | 0 .../puppet/parser => }/functions/join_keys_to_values_spec.rb | 0 spec/{unit/puppet/parser => }/functions/join_spec.rb | 0 spec/{unit/puppet/parser => }/functions/keys_spec.rb | 0 spec/{unit/puppet/parser => }/functions/loadyaml_spec.rb | 0 spec/{unit/puppet/parser => }/functions/lstrip_spec.rb | 0 spec/{unit/puppet/parser => }/functions/max_spec.rb | 0 spec/{unit/puppet/parser => }/functions/member_spec.rb | 0 spec/{unit/puppet/parser => }/functions/merge_spec.rb | 0 spec/{unit/puppet/parser => }/functions/min_spec.rb | 0 spec/{unit/puppet/parser => }/functions/num2bool_spec.rb | 0 spec/{unit/puppet/parser => }/functions/parsejson_spec.rb | 0 spec/{unit/puppet/parser => }/functions/parseyaml_spec.rb | 0 spec/{unit/puppet/parser => }/functions/pick_default_spec.rb | 0 spec/{unit/puppet/parser => }/functions/pick_spec.rb | 0 spec/{unit/puppet/parser => }/functions/prefix_spec.rb | 0 spec/{unit/puppet/parser => }/functions/range_spec.rb | 0 spec/{unit/puppet/parser => }/functions/reject_spec.rb | 0 spec/{unit/puppet/parser => }/functions/reverse_spec.rb | 0 spec/{unit/puppet/parser => }/functions/rstrip_spec.rb | 0 spec/{unit/puppet/parser => }/functions/shuffle_spec.rb | 0 spec/{unit/puppet/parser => }/functions/size_spec.rb | 0 spec/{unit/puppet/parser => }/functions/sort_spec.rb | 0 spec/{unit/puppet/parser => }/functions/squeeze_spec.rb | 0 spec/{unit/puppet/parser => }/functions/str2bool_spec.rb | 0 spec/{unit/puppet/parser => }/functions/str2saltedsha512_spec.rb | 0 spec/{unit/puppet/parser => }/functions/strftime_spec.rb | 0 spec/{unit/puppet/parser => }/functions/strip_spec.rb | 0 spec/{unit/puppet/parser => }/functions/suffix_spec.rb | 0 spec/{unit/puppet/parser => }/functions/swapcase_spec.rb | 0 spec/{unit/puppet/parser => }/functions/time_spec.rb | 0 spec/{unit/puppet/parser => }/functions/to_bytes_spec.rb | 0 spec/{unit/puppet/parser => }/functions/type_spec.rb | 0 spec/{unit/puppet/parser => }/functions/union_spec.rb | 0 spec/{unit/puppet/parser => }/functions/unique_spec.rb | 0 spec/{unit/puppet/parser => }/functions/upcase_spec.rb | 0 spec/{unit/puppet/parser => }/functions/uriescape_spec.rb | 0 .../puppet/parser => }/functions/validate_absolute_path_spec.rb | 0 spec/{unit/puppet/parser => }/functions/validate_array_spec.rb | 0 spec/{unit/puppet/parser => }/functions/validate_augeas_spec.rb | 0 spec/{unit/puppet/parser => }/functions/validate_bool_spec.rb | 0 spec/{unit/puppet/parser => }/functions/validate_cmd_spec.rb | 0 spec/{unit/puppet/parser => }/functions/validate_hash_spec.rb | 0 .../puppet/parser => }/functions/validate_ipv4_address_spec.rb | 0 .../puppet/parser => }/functions/validate_ipv6_address_spec.rb | 0 spec/{unit/puppet/parser => }/functions/validate_re_spec.rb | 0 spec/{unit/puppet/parser => }/functions/validate_slength_spec.rb | 0 spec/{unit/puppet/parser => }/functions/validate_string_spec.rb | 0 spec/{unit/puppet/parser => }/functions/values_at_spec.rb | 0 spec/{unit/puppet/parser => }/functions/values_spec.rb | 0 spec/{unit/puppet/parser => }/functions/zip_spec.rb | 0 95 files changed, 0 insertions(+), 0 deletions(-) rename spec/{unit/puppet/parser => }/functions/abs_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/any2array_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/base64_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/bool2num_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/capitalize_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/chomp_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/chop_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/concat_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/count_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/deep_merge_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/defined_with_params_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/delete_at_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/delete_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/delete_undef_values_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/delete_values_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/difference_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/dirname_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/downcase_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/empty_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/ensure_packages_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/ensure_resource_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/flatten_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/floor_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/fqdn_rotate_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/get_module_path_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/getparam_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/getvar_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/grep_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/has_interface_with_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/has_ip_address_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/has_ip_network_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/has_key_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/hash_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/intersection_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/is_array_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/is_bool_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/is_domain_name_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/is_float_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/is_function_available.rb (100%) rename spec/{unit/puppet/parser => }/functions/is_hash_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/is_integer_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/is_ip_address_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/is_mac_address_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/is_numeric_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/is_string_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/join_keys_to_values_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/join_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/keys_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/loadyaml_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/lstrip_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/max_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/member_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/merge_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/min_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/num2bool_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/parsejson_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/parseyaml_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/pick_default_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/pick_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/prefix_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/range_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/reject_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/reverse_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/rstrip_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/shuffle_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/size_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/sort_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/squeeze_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/str2bool_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/str2saltedsha512_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/strftime_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/strip_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/suffix_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/swapcase_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/time_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/to_bytes_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/type_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/union_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/unique_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/upcase_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/uriescape_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/validate_absolute_path_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/validate_array_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/validate_augeas_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/validate_bool_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/validate_cmd_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/validate_hash_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/validate_ipv4_address_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/validate_ipv6_address_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/validate_re_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/validate_slength_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/validate_string_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/values_at_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/values_spec.rb (100%) rename spec/{unit/puppet/parser => }/functions/zip_spec.rb (100%) diff --git a/spec/unit/puppet/parser/functions/abs_spec.rb b/spec/functions/abs_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/abs_spec.rb rename to spec/functions/abs_spec.rb diff --git a/spec/unit/puppet/parser/functions/any2array_spec.rb b/spec/functions/any2array_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/any2array_spec.rb rename to spec/functions/any2array_spec.rb diff --git a/spec/unit/puppet/parser/functions/base64_spec.rb b/spec/functions/base64_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/base64_spec.rb rename to spec/functions/base64_spec.rb diff --git a/spec/unit/puppet/parser/functions/bool2num_spec.rb b/spec/functions/bool2num_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/bool2num_spec.rb rename to spec/functions/bool2num_spec.rb diff --git a/spec/unit/puppet/parser/functions/capitalize_spec.rb b/spec/functions/capitalize_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/capitalize_spec.rb rename to spec/functions/capitalize_spec.rb diff --git a/spec/unit/puppet/parser/functions/chomp_spec.rb b/spec/functions/chomp_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/chomp_spec.rb rename to spec/functions/chomp_spec.rb diff --git a/spec/unit/puppet/parser/functions/chop_spec.rb b/spec/functions/chop_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/chop_spec.rb rename to spec/functions/chop_spec.rb diff --git a/spec/unit/puppet/parser/functions/concat_spec.rb b/spec/functions/concat_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/concat_spec.rb rename to spec/functions/concat_spec.rb diff --git a/spec/unit/puppet/parser/functions/count_spec.rb b/spec/functions/count_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/count_spec.rb rename to spec/functions/count_spec.rb diff --git a/spec/unit/puppet/parser/functions/deep_merge_spec.rb b/spec/functions/deep_merge_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/deep_merge_spec.rb rename to spec/functions/deep_merge_spec.rb diff --git a/spec/unit/puppet/parser/functions/defined_with_params_spec.rb b/spec/functions/defined_with_params_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/defined_with_params_spec.rb rename to spec/functions/defined_with_params_spec.rb diff --git a/spec/unit/puppet/parser/functions/delete_at_spec.rb b/spec/functions/delete_at_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/delete_at_spec.rb rename to spec/functions/delete_at_spec.rb diff --git a/spec/unit/puppet/parser/functions/delete_spec.rb b/spec/functions/delete_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/delete_spec.rb rename to spec/functions/delete_spec.rb diff --git a/spec/unit/puppet/parser/functions/delete_undef_values_spec.rb b/spec/functions/delete_undef_values_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/delete_undef_values_spec.rb rename to spec/functions/delete_undef_values_spec.rb diff --git a/spec/unit/puppet/parser/functions/delete_values_spec.rb b/spec/functions/delete_values_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/delete_values_spec.rb rename to spec/functions/delete_values_spec.rb diff --git a/spec/unit/puppet/parser/functions/difference_spec.rb b/spec/functions/difference_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/difference_spec.rb rename to spec/functions/difference_spec.rb diff --git a/spec/unit/puppet/parser/functions/dirname_spec.rb b/spec/functions/dirname_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/dirname_spec.rb rename to spec/functions/dirname_spec.rb diff --git a/spec/unit/puppet/parser/functions/downcase_spec.rb b/spec/functions/downcase_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/downcase_spec.rb rename to spec/functions/downcase_spec.rb diff --git a/spec/unit/puppet/parser/functions/empty_spec.rb b/spec/functions/empty_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/empty_spec.rb rename to spec/functions/empty_spec.rb diff --git a/spec/unit/puppet/parser/functions/ensure_packages_spec.rb b/spec/functions/ensure_packages_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/ensure_packages_spec.rb rename to spec/functions/ensure_packages_spec.rb diff --git a/spec/unit/puppet/parser/functions/ensure_resource_spec.rb b/spec/functions/ensure_resource_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/ensure_resource_spec.rb rename to spec/functions/ensure_resource_spec.rb diff --git a/spec/unit/puppet/parser/functions/flatten_spec.rb b/spec/functions/flatten_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/flatten_spec.rb rename to spec/functions/flatten_spec.rb diff --git a/spec/unit/puppet/parser/functions/floor_spec.rb b/spec/functions/floor_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/floor_spec.rb rename to spec/functions/floor_spec.rb diff --git a/spec/unit/puppet/parser/functions/fqdn_rotate_spec.rb b/spec/functions/fqdn_rotate_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/fqdn_rotate_spec.rb rename to spec/functions/fqdn_rotate_spec.rb diff --git a/spec/unit/puppet/parser/functions/get_module_path_spec.rb b/spec/functions/get_module_path_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/get_module_path_spec.rb rename to spec/functions/get_module_path_spec.rb diff --git a/spec/unit/puppet/parser/functions/getparam_spec.rb b/spec/functions/getparam_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/getparam_spec.rb rename to spec/functions/getparam_spec.rb diff --git a/spec/unit/puppet/parser/functions/getvar_spec.rb b/spec/functions/getvar_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/getvar_spec.rb rename to spec/functions/getvar_spec.rb diff --git a/spec/unit/puppet/parser/functions/grep_spec.rb b/spec/functions/grep_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/grep_spec.rb rename to spec/functions/grep_spec.rb diff --git a/spec/unit/puppet/parser/functions/has_interface_with_spec.rb b/spec/functions/has_interface_with_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/has_interface_with_spec.rb rename to spec/functions/has_interface_with_spec.rb diff --git a/spec/unit/puppet/parser/functions/has_ip_address_spec.rb b/spec/functions/has_ip_address_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/has_ip_address_spec.rb rename to spec/functions/has_ip_address_spec.rb diff --git a/spec/unit/puppet/parser/functions/has_ip_network_spec.rb b/spec/functions/has_ip_network_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/has_ip_network_spec.rb rename to spec/functions/has_ip_network_spec.rb diff --git a/spec/unit/puppet/parser/functions/has_key_spec.rb b/spec/functions/has_key_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/has_key_spec.rb rename to spec/functions/has_key_spec.rb diff --git a/spec/unit/puppet/parser/functions/hash_spec.rb b/spec/functions/hash_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/hash_spec.rb rename to spec/functions/hash_spec.rb diff --git a/spec/unit/puppet/parser/functions/intersection_spec.rb b/spec/functions/intersection_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/intersection_spec.rb rename to spec/functions/intersection_spec.rb diff --git a/spec/unit/puppet/parser/functions/is_array_spec.rb b/spec/functions/is_array_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/is_array_spec.rb rename to spec/functions/is_array_spec.rb diff --git a/spec/unit/puppet/parser/functions/is_bool_spec.rb b/spec/functions/is_bool_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/is_bool_spec.rb rename to spec/functions/is_bool_spec.rb diff --git a/spec/unit/puppet/parser/functions/is_domain_name_spec.rb b/spec/functions/is_domain_name_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/is_domain_name_spec.rb rename to spec/functions/is_domain_name_spec.rb diff --git a/spec/unit/puppet/parser/functions/is_float_spec.rb b/spec/functions/is_float_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/is_float_spec.rb rename to spec/functions/is_float_spec.rb diff --git a/spec/unit/puppet/parser/functions/is_function_available.rb b/spec/functions/is_function_available.rb similarity index 100% rename from spec/unit/puppet/parser/functions/is_function_available.rb rename to spec/functions/is_function_available.rb diff --git a/spec/unit/puppet/parser/functions/is_hash_spec.rb b/spec/functions/is_hash_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/is_hash_spec.rb rename to spec/functions/is_hash_spec.rb diff --git a/spec/unit/puppet/parser/functions/is_integer_spec.rb b/spec/functions/is_integer_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/is_integer_spec.rb rename to spec/functions/is_integer_spec.rb diff --git a/spec/unit/puppet/parser/functions/is_ip_address_spec.rb b/spec/functions/is_ip_address_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/is_ip_address_spec.rb rename to spec/functions/is_ip_address_spec.rb diff --git a/spec/unit/puppet/parser/functions/is_mac_address_spec.rb b/spec/functions/is_mac_address_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/is_mac_address_spec.rb rename to spec/functions/is_mac_address_spec.rb diff --git a/spec/unit/puppet/parser/functions/is_numeric_spec.rb b/spec/functions/is_numeric_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/is_numeric_spec.rb rename to spec/functions/is_numeric_spec.rb diff --git a/spec/unit/puppet/parser/functions/is_string_spec.rb b/spec/functions/is_string_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/is_string_spec.rb rename to spec/functions/is_string_spec.rb diff --git a/spec/unit/puppet/parser/functions/join_keys_to_values_spec.rb b/spec/functions/join_keys_to_values_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/join_keys_to_values_spec.rb rename to spec/functions/join_keys_to_values_spec.rb diff --git a/spec/unit/puppet/parser/functions/join_spec.rb b/spec/functions/join_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/join_spec.rb rename to spec/functions/join_spec.rb diff --git a/spec/unit/puppet/parser/functions/keys_spec.rb b/spec/functions/keys_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/keys_spec.rb rename to spec/functions/keys_spec.rb diff --git a/spec/unit/puppet/parser/functions/loadyaml_spec.rb b/spec/functions/loadyaml_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/loadyaml_spec.rb rename to spec/functions/loadyaml_spec.rb diff --git a/spec/unit/puppet/parser/functions/lstrip_spec.rb b/spec/functions/lstrip_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/lstrip_spec.rb rename to spec/functions/lstrip_spec.rb diff --git a/spec/unit/puppet/parser/functions/max_spec.rb b/spec/functions/max_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/max_spec.rb rename to spec/functions/max_spec.rb diff --git a/spec/unit/puppet/parser/functions/member_spec.rb b/spec/functions/member_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/member_spec.rb rename to spec/functions/member_spec.rb diff --git a/spec/unit/puppet/parser/functions/merge_spec.rb b/spec/functions/merge_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/merge_spec.rb rename to spec/functions/merge_spec.rb diff --git a/spec/unit/puppet/parser/functions/min_spec.rb b/spec/functions/min_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/min_spec.rb rename to spec/functions/min_spec.rb diff --git a/spec/unit/puppet/parser/functions/num2bool_spec.rb b/spec/functions/num2bool_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/num2bool_spec.rb rename to spec/functions/num2bool_spec.rb diff --git a/spec/unit/puppet/parser/functions/parsejson_spec.rb b/spec/functions/parsejson_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/parsejson_spec.rb rename to spec/functions/parsejson_spec.rb diff --git a/spec/unit/puppet/parser/functions/parseyaml_spec.rb b/spec/functions/parseyaml_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/parseyaml_spec.rb rename to spec/functions/parseyaml_spec.rb diff --git a/spec/unit/puppet/parser/functions/pick_default_spec.rb b/spec/functions/pick_default_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/pick_default_spec.rb rename to spec/functions/pick_default_spec.rb diff --git a/spec/unit/puppet/parser/functions/pick_spec.rb b/spec/functions/pick_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/pick_spec.rb rename to spec/functions/pick_spec.rb diff --git a/spec/unit/puppet/parser/functions/prefix_spec.rb b/spec/functions/prefix_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/prefix_spec.rb rename to spec/functions/prefix_spec.rb diff --git a/spec/unit/puppet/parser/functions/range_spec.rb b/spec/functions/range_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/range_spec.rb rename to spec/functions/range_spec.rb diff --git a/spec/unit/puppet/parser/functions/reject_spec.rb b/spec/functions/reject_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/reject_spec.rb rename to spec/functions/reject_spec.rb diff --git a/spec/unit/puppet/parser/functions/reverse_spec.rb b/spec/functions/reverse_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/reverse_spec.rb rename to spec/functions/reverse_spec.rb diff --git a/spec/unit/puppet/parser/functions/rstrip_spec.rb b/spec/functions/rstrip_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/rstrip_spec.rb rename to spec/functions/rstrip_spec.rb diff --git a/spec/unit/puppet/parser/functions/shuffle_spec.rb b/spec/functions/shuffle_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/shuffle_spec.rb rename to spec/functions/shuffle_spec.rb diff --git a/spec/unit/puppet/parser/functions/size_spec.rb b/spec/functions/size_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/size_spec.rb rename to spec/functions/size_spec.rb diff --git a/spec/unit/puppet/parser/functions/sort_spec.rb b/spec/functions/sort_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/sort_spec.rb rename to spec/functions/sort_spec.rb diff --git a/spec/unit/puppet/parser/functions/squeeze_spec.rb b/spec/functions/squeeze_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/squeeze_spec.rb rename to spec/functions/squeeze_spec.rb diff --git a/spec/unit/puppet/parser/functions/str2bool_spec.rb b/spec/functions/str2bool_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/str2bool_spec.rb rename to spec/functions/str2bool_spec.rb diff --git a/spec/unit/puppet/parser/functions/str2saltedsha512_spec.rb b/spec/functions/str2saltedsha512_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/str2saltedsha512_spec.rb rename to spec/functions/str2saltedsha512_spec.rb diff --git a/spec/unit/puppet/parser/functions/strftime_spec.rb b/spec/functions/strftime_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/strftime_spec.rb rename to spec/functions/strftime_spec.rb diff --git a/spec/unit/puppet/parser/functions/strip_spec.rb b/spec/functions/strip_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/strip_spec.rb rename to spec/functions/strip_spec.rb diff --git a/spec/unit/puppet/parser/functions/suffix_spec.rb b/spec/functions/suffix_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/suffix_spec.rb rename to spec/functions/suffix_spec.rb diff --git a/spec/unit/puppet/parser/functions/swapcase_spec.rb b/spec/functions/swapcase_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/swapcase_spec.rb rename to spec/functions/swapcase_spec.rb diff --git a/spec/unit/puppet/parser/functions/time_spec.rb b/spec/functions/time_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/time_spec.rb rename to spec/functions/time_spec.rb diff --git a/spec/unit/puppet/parser/functions/to_bytes_spec.rb b/spec/functions/to_bytes_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/to_bytes_spec.rb rename to spec/functions/to_bytes_spec.rb diff --git a/spec/unit/puppet/parser/functions/type_spec.rb b/spec/functions/type_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/type_spec.rb rename to spec/functions/type_spec.rb diff --git a/spec/unit/puppet/parser/functions/union_spec.rb b/spec/functions/union_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/union_spec.rb rename to spec/functions/union_spec.rb diff --git a/spec/unit/puppet/parser/functions/unique_spec.rb b/spec/functions/unique_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/unique_spec.rb rename to spec/functions/unique_spec.rb diff --git a/spec/unit/puppet/parser/functions/upcase_spec.rb b/spec/functions/upcase_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/upcase_spec.rb rename to spec/functions/upcase_spec.rb diff --git a/spec/unit/puppet/parser/functions/uriescape_spec.rb b/spec/functions/uriescape_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/uriescape_spec.rb rename to spec/functions/uriescape_spec.rb diff --git a/spec/unit/puppet/parser/functions/validate_absolute_path_spec.rb b/spec/functions/validate_absolute_path_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/validate_absolute_path_spec.rb rename to spec/functions/validate_absolute_path_spec.rb diff --git a/spec/unit/puppet/parser/functions/validate_array_spec.rb b/spec/functions/validate_array_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/validate_array_spec.rb rename to spec/functions/validate_array_spec.rb diff --git a/spec/unit/puppet/parser/functions/validate_augeas_spec.rb b/spec/functions/validate_augeas_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/validate_augeas_spec.rb rename to spec/functions/validate_augeas_spec.rb diff --git a/spec/unit/puppet/parser/functions/validate_bool_spec.rb b/spec/functions/validate_bool_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/validate_bool_spec.rb rename to spec/functions/validate_bool_spec.rb diff --git a/spec/unit/puppet/parser/functions/validate_cmd_spec.rb b/spec/functions/validate_cmd_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/validate_cmd_spec.rb rename to spec/functions/validate_cmd_spec.rb diff --git a/spec/unit/puppet/parser/functions/validate_hash_spec.rb b/spec/functions/validate_hash_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/validate_hash_spec.rb rename to spec/functions/validate_hash_spec.rb diff --git a/spec/unit/puppet/parser/functions/validate_ipv4_address_spec.rb b/spec/functions/validate_ipv4_address_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/validate_ipv4_address_spec.rb rename to spec/functions/validate_ipv4_address_spec.rb diff --git a/spec/unit/puppet/parser/functions/validate_ipv6_address_spec.rb b/spec/functions/validate_ipv6_address_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/validate_ipv6_address_spec.rb rename to spec/functions/validate_ipv6_address_spec.rb diff --git a/spec/unit/puppet/parser/functions/validate_re_spec.rb b/spec/functions/validate_re_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/validate_re_spec.rb rename to spec/functions/validate_re_spec.rb diff --git a/spec/unit/puppet/parser/functions/validate_slength_spec.rb b/spec/functions/validate_slength_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/validate_slength_spec.rb rename to spec/functions/validate_slength_spec.rb diff --git a/spec/unit/puppet/parser/functions/validate_string_spec.rb b/spec/functions/validate_string_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/validate_string_spec.rb rename to spec/functions/validate_string_spec.rb diff --git a/spec/unit/puppet/parser/functions/values_at_spec.rb b/spec/functions/values_at_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/values_at_spec.rb rename to spec/functions/values_at_spec.rb diff --git a/spec/unit/puppet/parser/functions/values_spec.rb b/spec/functions/values_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/values_spec.rb rename to spec/functions/values_spec.rb diff --git a/spec/unit/puppet/parser/functions/zip_spec.rb b/spec/functions/zip_spec.rb similarity index 100% rename from spec/unit/puppet/parser/functions/zip_spec.rb rename to spec/functions/zip_spec.rb