summaryrefslogtreecommitdiff
path: root/spec/fixtures/test
diff options
context:
space:
mode:
authorDavid Schmitt <david.schmitt@puppet.com>2016-12-09 14:55:59 +0000
committerGitHub <noreply@github.com>2016-12-09 14:55:59 +0000
commitf63644a0385f5f27f4285b91ea6e367a515fdfc2 (patch)
tree6a50cd6fe21c0d14e315ae6b2c713327ccf60b17 /spec/fixtures/test
parent7507af555361b2dcba8ed6189dc54c21e64ea031 (diff)
parent3312cc1f44d1acf25ce45701a74cecd647c50858 (diff)
Merge pull request #697 from HAIL9000/issue/master/MODULES-3829_add_tests_for_ensure_resources
(MODULES-3829) Add tests for ensure_resources
Diffstat (limited to 'spec/fixtures/test')
-rw-r--r--spec/fixtures/test/manifests/ensure_resources.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/fixtures/test/manifests/ensure_resources.pp b/spec/fixtures/test/manifests/ensure_resources.pp
new file mode 100644
index 0000000..bd26002
--- /dev/null
+++ b/spec/fixtures/test/manifests/ensure_resources.pp
@@ -0,0 +1,4 @@
+# A helper class to test the ensure_resources function
+class test::ensure_resources($resource_type, $title_hash, $attributes_hash) {
+ ensure_resources($resource_type, $title_hash, $attributes_hash)
+}