summaryrefslogtreecommitdiff
path: root/spec/acceptance
AgeCommit message (Collapse)Author
2015-07-22(main) clean up fqdn_rand acceptance tests to work on windowsDavid Schmitt
2015-07-22(maint) Remove failing acceptance test for ensure_packagesDavid Schmitt
This only duplicates what's already being tested in ensure_packages_spec.rb but doesn't work on all our supported platforms.
2015-07-21disable pw_hash test on sles, as it only supports md5Hunter Haugen
2015-07-20(maint) Fix test to not assume is_pe fact on > 4.0.0 puppetTravis Fields
2015-06-02fqdn_rand_string: Add acceptance tests for custom charsetsEli Young
2015-06-02fqdn_rotate: Add acceptance tests for custom seedsEli Young
2015-06-01fqdn_rotate: Don't use the value itself as part of the random seedEli Young
Previously, the random number generator was seeded with the array or string to be rotated in addition to any values specifically provided for seeding. This behavior is potentially insecure in that it allows an attacker who can modify the source data to choose the post-shuffle order.
2015-06-01Convert tests to use plain rspec-puppetDavid Schmitt
Tests in the new style produces the following documentation output: abs should not eq nil should run abs() and raise an Puppet::ParseError should run abs(-34) and return 34 should run abs("-34") and return 34 should run abs(34) and return 34 should run abs("34") and return 34
2015-04-10Fix acceptance tests for #405Colleen Murphy
This fixes the acceptance tests by: - Ensuring the fqdn_rand_string spec is passed undef as the second parameter so that the seed is not used as the charset - Ensuring the pw_hash spec is passed the key specifying the type of hash, rather than the value that will be used to generate the password - Expecting puppet to report nil instead of empty string for undef passwords - Removing the fqdn_rand_base64 test because there is no such function
2015-04-09Fix unsupported platforms variable name in testsColleen Murphy
unsupported_platforms is not a valid identifier, and trying to use it causes acceptance tests to error out before running any tests. The correct identifier for the unsupported platforms constants is UNSUPPORTED_PLATFORMS.
2015-04-09Merge pull request #405 from elyscape/feature/fqdn_rand_stringsHunter Haugen
(MODULES-1715) Add FQDN-based random string generator
2015-04-05(MODULES-1737) Add pw_hash() functionEli Young
2015-03-31(MODULES-1715) Add fqdn_rand string generatorsEli Young
2015-02-01Add a ceiling function to complement the floor function.Adam Crews
2015-01-13Change all to eachHunter Haugen
The existence of this directory is behavior for each test, but will also stop rspec 3 from complaining.
2014-12-18Fix bad check in testMorgan Haskel
2014-12-04(MODULES-444) Acceptance for multiple arraysPeter Souter
Acceptance test to take multiple arrays for concatenation
2014-12-04(MODULES-444) Acceptance test for primitivesPeter Souter
`concat` should be able to concat arrays and primitives
2014-11-11Fix exclude windows test on ensure_packageTravis Fields
Update to fix ensure_resource as well
2014-11-11Correct type() logicHunter Haugen
It should NOT run if the future parser is enabled
2014-11-10Remove windows from ensure_package and ensure_resource testingTravis Fields
2014-11-10Merge pull request #354 from puppetlabs/4.3.xMorgan Haskel
4.3.x
2014-11-04Merge pull request #350 from cyberious/modules1413Morgan Haskel
MODULES-1413 Add ability for member to take numeric objects
2014-11-04MODULES-1413 Ability to for future parser to use member with FixNum typesTravis Fields
2014-11-04Merge branch '4.3.x'Travis Fields
Conflicts: spec/acceptance/ensure_packages_spec.rb spec/acceptance/ensure_resource_spec.rb
2014-11-04Fix the unless for test cases on ensure_package and ensure_resourceTravis Fields
Conflicts: spec/acceptance/ensure_packages_spec.rb spec/acceptance/ensure_resource_spec.rb
2014-10-30Merge branch '4.3.x'Travis Fields
2014-10-29Fix validate_cmd, previous addition of SystemCallError only works for Puppet ↵Travis Fields
3.7, previous version throw different exception. Wrapping in generic Exception catch all
2014-10-28Add windows test exclusion to ensure_resourceTravis Fields
2014-10-28Fix logic issue with not including windows for testing ensure_packages as ↵Travis Fields
ruby and gem are not on the install path
2014-10-28Merge remote-tracking branch 'origin/4.3.x' back to masterTravis Fields
2014-10-28Fix testcases for Future Parser and resolve issue with values_at in assuming ↵Travis Fields
that it was dealing with a string
2014-08-05Merge branch '4.3.x'Hunter Haugen
2014-07-08AIX has no facter network supportHunter Haugen
These functions take advantage of IP fact information and AIX does not appear to support dynamic interface detection in facter.
2014-06-26Gotta single quote yer typewriter buttonsHunter Haugen
2014-06-26Need quotes for spaces in pathHunter Haugen
2014-06-26has_ip_network doesn't work on windows eitherHunter Haugen
2014-06-25Sync filesColleen Murphy
2014-06-25Disable windows network stuff and quote pathHunter Haugen
2014-06-24Not enough escape velocityHunter Haugen
2014-06-24Fix pe facts and slashesHunter Haugen
2014-06-23Fixed fqdn,getparam and has_interface_with spec testsTravis Fields
2014-06-23Windows needs a tmpdir pathHunter Haugen
2014-06-23Merge pull request #280 from hunner/win_augTravis Fields
Augeas isn't present on windows
2014-06-23Augeas isn't present on windowsHunter Haugen
2014-06-23OS X also has lo0 and can't manage user homedirsHunter Haugen
2014-06-20Add windows Nodesets and remove Beaker from GemfileTravis Fields
2014-06-20Patch ensure_* testsHunter Haugen
2014-06-19(FM-1587) Fix test issues on solaris 10Hunter Haugen
- ensure_packages fails because Error: Sun packages must specify a package source - ensure_resource fails for the same reason - get_module_path fails because the modulepath is different - has_interface_with fails because the interface is lo0 not lo
2014-06-03Merge pull request #265 from apenney/fix-testsMorgan Haskel
Further fixes to tests for 14.04.