summaryrefslogtreecommitdiff
path: root/spec/classes
AgeCommit message (Collapse)Author
2012-10-10Add manage_service parameter for corosyncHunter Haugen
2012-08-29Update specs for haproxy base class with debian supportHunter Haugen
Many of the tests that apply to the RedHat family also apply to Debian. The tests have been updated to reflect this, as well as to capture the minor differences between the two platforms. This commit incorperates the changes from glarizza#7 and glarizza#12 Not all tests pass because I found it pertinent to update the spec where the actual module code was lacking.
2012-08-27Add $concat_basedir custom fact variable for spec testsHunter Haugen
2012-05-09Commit spec tests for the haproxy moduleGary Larizza
Previously, the haproxy module didn't provide rspec tests for the class or defined resource types. This commit adds the tests, a spec_helper file, and a rakefile so you can do `rake spec` and automatically run the tests. I've also committed a symlink in the spec/fixtures/modules/haproxy directory so the rspec-puppet tests will FIND the haproxy class/defined resource types, but I HAVE NOT committed a symlink so that it will find the concat class (which is a dependency for this module). If you choose to run the tests, you must symlink the concat module in the spec/fixtures/modules directory before the spec tests will pass.