summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff McCune <jeff@puppetlabs.com>2011-08-08 09:33:56 -0700
committerJeff McCune <jeff@puppetlabs.com>2011-08-08 09:33:56 -0700
commitf3c53e6f1943417a1690f5a976076f24277c6b06 (patch)
tree7a705b349ab1f976328eef1fa7c3e7167a1bd769
parent4c93090e1aad8dfdaa39b4f304d3c87704408b13 (diff)
downloadpuppet-stdlib-f3c53e6f1943417a1690f5a976076f24277c6b06.tar.gz
puppet-stdlib-f3c53e6f1943417a1690f5a976076f24277c6b06.tar.bz2
(#8792) Rename basic smoke test to reflect file_line rename
Without this patch the basic smoke test in the module tests/ directory did not math up with the renamed whole_line => file_line resource type. This patch updates the smoke test file to match the most recently selected name of file_line. The filename has been changed, comments added to the smoke test file, and resource declarations inside the file changed.
-rw-r--r--tests/file_line.pp (renamed from tests/whole_line.pp)4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/whole_line.pp b/tests/file_line.pp
index 1302989..eea693e 100644
--- a/tests/whole_line.pp
+++ b/tests/file_line.pp
@@ -1,7 +1,9 @@
+# This is a simple smoke test
+# of the file_line resource type.
file { '/tmp/dansfile':
ensure => present
}->
-whole_line { 'dans_line':
+file_line { 'dans_line':
line => 'dan is awesome',
path => '/tmp/dansfile',
}