summaryrefslogtreecommitdiffstats
path: root/test/language
diff options
context:
space:
mode:
authorBrice Figureau <brice-puppet@daysofwonder.com>2008-11-29 17:41:45 +0100
committerJames Turnbull <james@lovedthanlost.net>2009-03-14 11:31:29 +1100
commitaf4455e31df403c55a5db06ee8d0d4e0e58c4154 (patch)
tree0e70a34d11dbd02f0fef297e64d66d1d2dc7efc2 /test/language
parentb15028f55ba608a701efae1ee392d50374b2be54 (diff)
downloadpuppet-af4455e31df403c55a5db06ee8d0d4e0e58c4154.tar.gz
puppet-af4455e31df403c55a5db06ee8d0d4e0e58c4154.tar.xz
puppet-af4455e31df403c55a5db06ee8d0d4e0e58c4154.zip
Fix #1088 - part2 - Add rspec tests
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'test/language')
-rwxr-xr-xtest/language/snippets.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/language/snippets.rb b/test/language/snippets.rb
index dfd4950e7..eac852ed0 100755
--- a/test/language/snippets.rb
+++ b/test/language/snippets.rb
@@ -475,6 +475,12 @@ class TestSnippets < Test::Unit::TestCase
assert_not_file("/tmp/multilinecomments","Did create a commented resource");
end
+ def snippet_collection_override
+ path = "/tmp/collection"
+ assert_file(path)
+ assert_mode_equal(0600, path)
+ end
+
# Iterate across each of the snippets and create a test.
Dir.entries(snippetdir).sort.each { |file|
next if file =~ /^\./