puppetlabs-stdlib/spec/functions
Jetroid 1d9189d860 (MODULE-2456) Modify union to accept more than two arrays
Add spec tests to test the new functionality:
 *Case for 3 arrays.
 *Case for 4 arrays.
Modify README to note new functionality.

This is for issue MODULE-2456, follow the precedent of MODULE-444.

This change allows union to be much more useful, unioning many arrays
in one line rather than in n lines. Additionally, as this is only added
functionality, and does not affect the 2 array case that all modules
currently using array are using, it should not affect any existing
modules utilizing union.

This is now useful, for example, for merging many arrays of resources
(eg: packages.) to generate just one list with no duplicates, to avoid
duplicate resource declarations.
2015-08-24 14:24:10 +01:00
..
abs_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
any2array_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
assert_private_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
base64_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
basename_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
bool2num_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
bool2str_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
camelcase_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
capitalize_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
ceiling_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
chomp_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
chop_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
concat_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
count_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
deep_merge_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
defined_with_params_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
delete_at_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
delete_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
delete_undef_values_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
delete_values_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
difference_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
dirname_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
dos2unix_spec.rb (MODULES-2410) Add new functions dos2unix and unix2dos 2015-08-14 13:30:01 +01:00
downcase_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
empty_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
ensure_packages_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
ensure_resource_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
flatten_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
floor_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
fqdn_rand_string_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
fqdn_rotate_spec.rb fqdn_rotate: Add tests for custom seeds 2015-06-01 17:03:42 -07:00
get_module_path_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
getparam_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
getvar_spec.rb (maint) getvar: update spec to match implementation 2015-06-12 14:42:09 +01:00
grep_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
has_interface_with_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
has_ip_address_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
has_ip_network_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
has_key_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
hash_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
intersection_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
is_array_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
is_bool_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
is_domain_name_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
is_float_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
is_function_available.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
is_hash_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
is_integer_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
is_ip_address_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
is_mac_address_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
is_numeric_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
is_string_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
join_keys_to_values_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
join_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
keys_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
load_module_metadata.rb Add load_metadata_json function 2015-07-30 15:51:54 -07:00
loadyaml_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
lstrip_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
max_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
member_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
merge_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
min_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
num2bool_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
parsejson_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
parseyaml_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
pick_default_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
pick_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
prefix_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
private_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
pw_hash_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
range_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
reject_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
reverse_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
rstrip_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
shuffle_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
size_spec.rb adding support for hash in the size function 2015-07-22 12:11:52 +02:00
sort_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
squeeze_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
str2bool_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
str2saltedsha512_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
strftime_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
strip_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
suffix_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
swapcase_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
time_spec.rb Fix time() on 1.8.7 2015-06-04 09:40:52 -07:00
to_bytes_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
type3x_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
type_of_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
type_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
union_spec.rb (MODULE-2456) Modify union to accept more than two arrays 2015-08-24 14:24:10 +01:00
unique_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
unix2dos_spec.rb (MODULES-2410) Add new functions dos2unix and unix2dos 2015-08-14 13:30:01 +01:00
upcase_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
uriescape_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
validate_absolute_path_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
validate_array_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
validate_augeas_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
validate_bool_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
validate_cmd_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
validate_hash_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
validate_integer_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
validate_ipv4_address_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
validate_ipv6_address_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
validate_numeric_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
validate_re_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
validate_slength_spec.rb Add validate_slength's optional 3rd arg to README 2015-07-09 18:13:19 +01:00
validate_string_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
values_at_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
values_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
zip_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00