From f3c53e6f1943417a1690f5a976076f24277c6b06 Mon Sep 17 00:00:00 2001 From: Jeff McCune Date: Mon, 8 Aug 2011 09:33:56 -0700 Subject: (#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. --- tests/file_line.pp | 9 +++++++++ tests/whole_line.pp | 7 ------- 2 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 tests/file_line.pp delete mode 100644 tests/whole_line.pp (limited to 'tests') diff --git a/tests/file_line.pp b/tests/file_line.pp new file mode 100644 index 0000000..eea693e --- /dev/null +++ b/tests/file_line.pp @@ -0,0 +1,9 @@ +# This is a simple smoke test +# of the file_line resource type. +file { '/tmp/dansfile': + ensure => present +}-> +file_line { 'dans_line': + line => 'dan is awesome', + path => '/tmp/dansfile', +} diff --git a/tests/whole_line.pp b/tests/whole_line.pp deleted file mode 100644 index 1302989..0000000 --- a/tests/whole_line.pp +++ /dev/null @@ -1,7 +0,0 @@ -file { '/tmp/dansfile': - ensure => present -}-> -whole_line { 'dans_line': - line => 'dan is awesome', - path => '/tmp/dansfile', -} -- cgit v1.2.3