summaryrefslogtreecommitdiffstats
path: root/spec/fixtures/unit/parser/lexer/multipleclass.pp
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@rimspace.net>2011-03-02 19:06:57 -0800
committerDaniel Pittman <daniel@rimspace.net>2011-03-03 16:29:37 -0800
commit0f6faf5e138e6d11e79b2430b4e6fa6139442509 (patch)
treeeba4624e042fbd367daa0a36c6d2e61c1d2ac03f /spec/fixtures/unit/parser/lexer/multipleclass.pp
parentf490526726a5f35437cda11652ae9977d89279e5 (diff)
downloadpuppet-0f6faf5e138e6d11e79b2430b4e6fa6139442509.tar.gz
puppet-0f6faf5e138e6d11e79b2430b4e6fa6139442509.tar.xz
puppet-0f6faf5e138e6d11e79b2430b4e6fa6139442509.zip
(#6582) Eliminate the old fakedata helper method.
This is replaced with the new my_fixture{,s} methods; old fixture data is ported into the spec tests at the same time, but left where it was against unit tests that require it. Reviewed-By: Nick Lewis <nick@puppetlabs.com>
Diffstat (limited to 'spec/fixtures/unit/parser/lexer/multipleclass.pp')
-rw-r--r--spec/fixtures/unit/parser/lexer/multipleclass.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/fixtures/unit/parser/lexer/multipleclass.pp b/spec/fixtures/unit/parser/lexer/multipleclass.pp
new file mode 100644
index 000000000..ae02edc38
--- /dev/null
+++ b/spec/fixtures/unit/parser/lexer/multipleclass.pp
@@ -0,0 +1,9 @@
+class one {
+ file { "/tmp/multipleclassone": content => "one" }
+}
+
+class one {
+ file { "/tmp/multipleclasstwo": content => "two" }
+}
+
+include one