diff options
author | Luke Kanies <luke@madstop.com> | 2009-03-11 23:52:53 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2009-03-11 23:52:53 -0500 |
commit | 88aa1bc2cfef4517fca9e467c86f70ae356be883 (patch) | |
tree | e3ab7739abe41c9110004abd41d1c8618b2c1753 /test/language/snippets.rb | |
parent | f8dea989e3f5bd7d3d823a6c3dc3cf76cd5cba4e (diff) | |
download | puppet-88aa1bc2cfef4517fca9e467c86f70ae356be883.tar.gz puppet-88aa1bc2cfef4517fca9e467c86f70ae356be883.tar.xz puppet-88aa1bc2cfef4517fca9e467c86f70ae356be883.zip |
Fixing tests broken in previous commits
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'test/language/snippets.rb')
-rwxr-xr-x | test/language/snippets.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/language/snippets.rb b/test/language/snippets.rb index a1d0f5d4f..dfd4950e7 100755 --- a/test/language/snippets.rb +++ b/test/language/snippets.rb @@ -358,7 +358,7 @@ class TestSnippets < Test::Unit::TestCase }.each { |count, str| path = "/tmp/singlequote%s" % count assert_file(path) - assert_equal(str, @catalog.resource(:file, path).should(:content)) + assert_equal(str, @catalog.resource(:file, path).parameter(:content).actual_content) } end @@ -403,7 +403,7 @@ class TestSnippets < Test::Unit::TestCase path = "/tmp/multisubtest" assert_file(path) file = @catalog.resource(:file, path) - assert_equal("sub2", file.should(:content), "sub2 did not override content") + assert_equal("{md5}5fbef65269a99bddc2106251dd89b1dc", file.should(:content), "sub2 did not override content") assert_mode_equal(0755, path) end |