puppetlabs-stdlib/spec/acceptance
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
..
nodesets Merge branch '4.3.x' 2014-08-05 10:55:58 -07:00
abs_spec.rb Fix testcases for Future Parser and resolve issue with values_at in assuming that it was dealing with a string 2014-10-28 15:27:24 -07:00
anchor_spec.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
any2array_spec.rb Fix testcases for Future Parser and resolve issue with values_at in assuming that it was dealing with a string 2014-10-28 15:27:24 -07:00
base64_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
bool2num_spec.rb Fix testcases for Future Parser and resolve issue with values_at in assuming that it was dealing with a string 2014-10-28 15:27:24 -07:00
build_csv.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
capitalize_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
ceiling_spec.rb Add a ceiling function to complement the floor function. 2015-02-01 22:46:16 -08:00
chomp_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
chop_spec.rb Gotta single quote yer typewriter buttons 2014-06-26 13:55:57 -07:00
concat_spec.rb Fix bad check in test 2014-12-18 16:20:02 -08:00
count_spec.rb Fix testcases for Future Parser and resolve issue with values_at in assuming that it was dealing with a string 2014-10-28 15:27:24 -07:00
deep_merge_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
defined_with_params_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
delete_at_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
delete_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
delete_undef_values_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
delete_values_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
difference_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
dirname_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
downcase_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
empty_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
ensure_resource_spec.rb Prep 4.8.0 2015-08-10 16:30:27 -07:00
flatten_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
floor_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
fqdn_rand_string_spec.rb (main) clean up fqdn_rand acceptance tests to work on windows 2015-07-22 17:30:39 +01:00
fqdn_rotate_spec.rb (main) clean up fqdn_rand acceptance tests to work on windows 2015-07-22 17:30:39 +01:00
get_module_path_spec.rb (FM-1587) Fix test issues on solaris 10 2014-06-19 15:38:23 -07:00
getparam_spec.rb Fixed fqdn,getparam and has_interface_with spec tests 2014-06-23 23:27:59 -07:00
getvar_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
grep_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
has_interface_with_spec.rb AIX has no facter network support 2014-07-08 13:45:36 -07:00
has_ip_address_spec.rb AIX has no facter network support 2014-07-08 13:45:36 -07:00
has_ip_network_spec.rb AIX has no facter network support 2014-07-08 13:45:36 -07:00
has_key_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
hash_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
intersection_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
is_array_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
is_bool_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
is_domain_name_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
is_float_spec.rb Fix the stdlib functions that fail tests 2014-05-08 14:55:23 -07:00
is_function_available_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
is_hash_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
is_integer_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
is_ip_address_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
is_mac_address_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
is_numeric_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
is_string_spec.rb Fix the stdlib functions that fail tests 2014-05-08 14:55:23 -07:00
join_keys_to_values_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
join_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
keys_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
loadyaml_spec.rb Windows needs a tmpdir path 2014-06-23 15:13:29 -07:00
lstrip_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
max_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
member_spec.rb MODULES-1413 Ability to for future parser to use member with FixNum types 2014-11-04 14:33:34 -08:00
merge_spec.rb Fix testcases for Future Parser and resolve issue with values_at in assuming that it was dealing with a string 2014-10-28 15:27:24 -07:00
min_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
num2bool_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
parsejson_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
parseyaml_spec.rb Merge pull request #264 from apenney/fixes-for-tests 2014-06-03 11:15:20 -04:00
pick_default_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
pick_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
prefix_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
pw_hash_spec.rb disable pw_hash test on sles, as it only supports md5 2015-07-21 14:43:34 -07:00
range_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
reject_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
reverse_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
rstrip_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
shuffle_spec.rb Merge pull request #265 from apenney/fix-tests 2014-06-03 15:01:12 -04:00
size_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
sort_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
squeeze_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
str2bool_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
str2saltedsha512_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
strftime_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
strip_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
suffix_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
swapcase_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
time_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
to_bytes_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
type_spec.rb Correct type() logic 2014-11-11 10:46:01 -08: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 Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
unsupported_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
upcase_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
uriescape_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
validate_absolute_path_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
validate_array_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
validate_augeas_spec.rb Augeas isn't present on windows 2014-06-23 13:50:24 -07:00
validate_bool_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
validate_cmd_spec.rb Fix validate_cmd, previous addition of SystemCallError only works for Puppet 3.7, previous version throw different exception. Wrapping in generic Exception catch all 2014-10-29 20:03:07 -07:00
validate_hash_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
validate_ipv4_address_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
validate_ipv6_address_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
validate_re_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
validate_slength_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
validate_string_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
values_at_spec.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
values_spec.rb Fix testcases for Future Parser and resolve issue with values_at in assuming that it was dealing with a string 2014-10-28 15:27:24 -07:00
zip_spec.rb Fix testcases for Future Parser and resolve issue with values_at in assuming that it was dealing with a string 2014-10-28 15:27:24 -07:00