]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
Added tests for each function, fixing functions as we hit bugs.
authorKen Barber <ken@bob.sh>
Wed, 29 Jun 2011 20:21:55 +0000 (21:21 +0100)
committerKen Barber <ken@bob.sh>
Wed, 29 Jun 2011 20:21:55 +0000 (21:21 +0100)
commit790818116e953118ba9eab5e5bef6d63f7bbc1fa
tree3f56e221af94f481159a6848338c9f31d3b31e72
parente071b05ab631f4b73fed7178c52d0416f7629cb8
Added tests for each function, fixing functions as we hit bugs.
74 files changed:
.gitignore
lib/puppet/parser/functions/date.rb
lib/puppet/parser/functions/delete.rb
lib/puppet/parser/functions/grep.rb
lib/puppet/parser/functions/is_float.rb
lib/puppet/parser/functions/is_integer.rb
lib/puppet/parser/functions/is_numeric.rb
lib/puppet/parser/functions/is_valid_domain_name.rb
lib/puppet/parser/functions/is_valid_ip_address.rb
lib/puppet/parser/functions/is_valid_mac_address.rb
lib/puppet/parser/functions/is_valid_netmask.rb
lib/puppet/parser/functions/load_json.rb
lib/puppet/parser/functions/load_yaml.rb
lib/puppet/parser/functions/rand.rb
lib/puppet/parser/functions/sort.rb
lib/puppet/parser/functions/squeeze.rb
lib/puppet/parser/functions/time.rb
spec/unit/parser/functions/abs_spec.rb [new file with mode: 0755]
spec/unit/parser/functions/bool2num_spec.rb [new file with mode: 0755]
spec/unit/parser/functions/capitalize_spec.rb [new file with mode: 0755]
spec/unit/parser/functions/chomp_spec.rb [new file with mode: 0755]
spec/unit/parser/functions/chop_spec.rb [new file with mode: 0755]
spec/unit/parser/functions/count_spec.rb [new file with mode: 0755]
spec/unit/parser/functions/date_spec.rb [new file with mode: 0755]
spec/unit/parser/functions/delete_at_spec.rb [new file with mode: 0755]
spec/unit/parser/functions/delete_spec.rb [new file with mode: 0755]
spec/unit/parser/functions/downcase_spec.rb [new file with mode: 0755]
spec/unit/parser/functions/empty_spec.rb [new file with mode: 0755]
spec/unit/parser/functions/fact_spec.rb [new file with mode: 0755]
spec/unit/parser/functions/flatten_spec.rb [new file with mode: 0755]
spec/unit/parser/functions/grep_spec.rb [new file with mode: 0755]
spec/unit/parser/functions/hash_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/is_array_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/is_float_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/is_hash_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/is_integer_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/is_numeric_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/is_string_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/is_valid_domain_name_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/is_valid_ip_address_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/is_valid_mac_address_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/is_valid_netmask_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/join_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/join_with_prefix_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/keys_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/kwalify_spec.rb
spec/unit/parser/functions/load_json_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/load_variables_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/load_yaml_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/lstrip_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/member_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/num2bool_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/persistent_crontab_minutes_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/prefix_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/rand_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/random_crontab_minutes_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/range_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/reverse_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/rstrip_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/shuffle_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/size_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/sort_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/squeeze_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/str2bool_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/strftime_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/strip_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/swapcase_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/time_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/type_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/unique_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/upcase_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/values_at_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/values_spec.rb [new file with mode: 0644]
spec/unit/parser/functions/zip_spec.rb [new file with mode: 0644]