]> gitweb.fluxo.info Git - puppet-stdlib.git/commitdiff
(#8792) Rename basic smoke test to reflect file_line rename
authorJeff McCune <jeff@puppetlabs.com>
Mon, 8 Aug 2011 16:33:56 +0000 (09:33 -0700)
committerJeff McCune <jeff@puppetlabs.com>
Mon, 8 Aug 2011 16:33:56 +0000 (09:33 -0700)
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.

tests/file_line.pp [moved from tests/whole_line.pp with 54% similarity]

similarity index 54%
rename from tests/whole_line.pp
rename to tests/file_line.pp
index 1302989afed179774a1b30a44407b2253017ebba..eea693e15ecc72f108c246144db983aabb6d3253 100644 (file)
@@ -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',
 }