summaryrefslogtreecommitdiff
path: root/puppet/modules/vcsrepo/spec/support/fixture_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/vcsrepo/spec/support/fixture_helpers.rb')
m---------puppet/modules/vcsrepo0
-rw-r--r--puppet/modules/vcsrepo/spec/support/fixture_helpers.rb7
2 files changed, 7 insertions, 0 deletions
diff --git a/puppet/modules/vcsrepo b/puppet/modules/vcsrepo
deleted file mode 160000
-Subproject 4e23209eaccf1ab504d35158f4141b3053327c2
diff --git a/puppet/modules/vcsrepo/spec/support/fixture_helpers.rb b/puppet/modules/vcsrepo/spec/support/fixture_helpers.rb
new file mode 100644
index 00000000..8a0e0a0b
--- /dev/null
+++ b/puppet/modules/vcsrepo/spec/support/fixture_helpers.rb
@@ -0,0 +1,7 @@
+module FixtureHelpers
+
+ def fixture(name, ext = '.txt')
+ File.read(File.join(File.dirname(__FILE__), '..', 'fixtures', name.to_s + ext))
+ end
+
+end