puppetlabs-stdlib/spec/functions
Morgan Haskel 8a1d1e2f34 Merge pull request #314 from amateo/feature/loadyaml_check_file
Check if file exists before loading with loadyaml. If not, return nil
2015-04-16 10:48:10 -07:00
..
abs_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
any2array_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
assert_private_spec.rb Rename private() to assert_private() 2015-03-05 10:59:31 -08:00
base64_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
bool2num_spec.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
capitalize_spec.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
ceiling_spec.rb Add a ceiling function to complement the floor function. 2015-02-01 22:46:16 -08:00
chomp_spec.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
chop_spec.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
concat_spec.rb (MODULES-444) - Check for accepting > 2 args 2014-12-04 14:27:55 +00:00
count_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
deep_merge_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
defined_with_params_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
delete_at_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
delete_spec.rb MODULES-1606 add ability to pass array to delete for items to delete 2014-12-19 10:26:01 -08:00
delete_undef_values_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
delete_values_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
difference_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
dirname_spec.rb Added type checks for dirname(), and additional tests 2014-12-17 12:55:48 -06:00
downcase_spec.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
empty_spec.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
ensure_packages_spec.rb Move unit tests to spec/functions 2014-05-08 10:47:24 -07:00
ensure_resource_spec.rb Move unit tests to spec/functions 2014-05-08 10:47:24 -07:00
flatten_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
floor_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
fqdn_rand_string_spec.rb (MODULES-1715) Add fqdn_rand string generators 2015-03-31 17:33:04 -07:00
fqdn_rotate_spec.rb (MODULES-1738) Don't modify global seed in fqdn_rotate() 2015-02-12 14:04:47 -08:00
get_module_path_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
getparam_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
getvar_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
grep_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
has_interface_with_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
has_ip_address_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
has_ip_network_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
has_key_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
hash_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
intersection_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
is_array_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
is_bool_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
is_domain_name_spec.rb If present, top-level domain must be alphabetic 2015-03-05 21:51:12 -06:00
is_float_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
is_function_available.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
is_hash_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
is_integer_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
is_ip_address_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
is_mac_address_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
is_numeric_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
is_string_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
join_keys_to_values_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
join_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
keys_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
loadyaml_spec.rb test case for when the file does not exist 2015-04-13 09:27:03 +02:00
lstrip_spec.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
max_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
member_spec.rb (MODULES-1329) Allow member function to look for array 2014-11-12 14:40:34 -05:00
merge_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
min_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
num2bool_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
parsejson_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
parseyaml_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
pick_default_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
pick_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
prefix_spec.rb Add support for hashes in the prefix function 2015-03-03 16:20:55 -08:00
private_spec.rb Add private function back and forward to assert_private with deprecation warning 2015-03-05 11:12:51 -08:00
pw_hash_spec.rb Modules-2474: Only runs enhanced salts functional test on systems that support it. 2015-04-10 11:38:15 -07:00
range_spec.rb Add range tests for numeric with step and mixed arguments 2014-11-12 16:52:36 +01:00
reject_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
reverse_spec.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
rstrip_spec.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
shuffle_spec.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
size_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
sort_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
squeeze_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
str2bool_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
str2saltedsha512_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
strftime_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
strip_spec.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
suffix_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
swapcase_spec.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
time_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
to_bytes_spec.rb Added correct converstions for PB and EB. 2014-10-28 13:14:06 -07:00
type3x_spec.rb (MODULES-1473) Deprecate type() function for new parser 2015-01-07 16:40:06 -08:00
type_spec.rb (MODULES-1473) Deprecate type() function for new parser 2015-01-07 16:40:06 -08:00
union_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
unique_spec.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
upcase_spec.rb Loosen the restrictions of upcase and allow for recursion of the objects and only worry if the object responds to upcase 2015-03-02 10:45:43 -08:00
uriescape_spec.rb URI.escape for the array case was incorrect. 2015-03-03 16:05:47 -08:00
validate_absolute_path_spec.rb Allow array of pathes in validate_absolute_path 2014-11-25 12:45:23 +01:00
validate_array_spec.rb Move unit tests to spec/functions 2014-05-08 10:47:24 -07:00
validate_augeas_spec.rb Fix off-by-one error in validate_augeas_spec.rb that was causing rspec failure. 2015-03-10 17:43:51 -05:00
validate_bool_spec.rb Move unit tests to spec/functions 2014-05-08 10:47:24 -07:00
validate_cmd_spec.rb (MODULES-1582) Specs for the new % placeholder 2014-12-18 23:08:33 +00:00
validate_hash_spec.rb Move unit tests to spec/functions 2014-05-08 10:47:24 -07:00
validate_integer_spec.rb Add new functions validate_numeric() and validate_integer(). 2014-12-04 22:33:15 +01:00
validate_ipv4_address_spec.rb Move unit tests to spec/functions 2014-05-08 10:47:24 -07:00
validate_ipv6_address_spec.rb Move unit tests to spec/functions 2014-05-08 10:47:24 -07:00
validate_numeric_spec.rb Add new functions validate_numeric() and validate_integer(). 2014-12-04 22:33:15 +01:00
validate_re_spec.rb Move unit tests to spec/functions 2014-05-08 10:47:24 -07:00
validate_slength_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
validate_string_spec.rb Move unit tests to spec/functions 2014-05-08 10:47:24 -07:00
values_at_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
values_spec.rb Convert specs to RSpec 2.99.0 syntax with Transpec 2014-06-04 14:38:37 -04:00
zip_spec.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00