summaryrefslogtreecommitdiffstats
path: root/spec/integration
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2009-08-04 11:40:59 +1000
committerJames Turnbull <james@lovedthanlost.net>2009-08-04 11:40:59 +1000
commitbf94de9939b31dbdbbce787696d331eb8e5f1e83 (patch)
tree398aec4a55539916c5227083b78044cd6d97fc79 /spec/integration
parent5b87dba681cc0aa3144dca59216223bb16d10a4a (diff)
downloadpuppet-bf94de9939b31dbdbbce787696d331eb8e5f1e83.tar.gz
puppet-bf94de9939b31dbdbbce787696d331eb8e5f1e83.tar.xz
puppet-bf94de9939b31dbdbbce787696d331eb8e5f1e83.zip
Updated two more tests
Diffstat (limited to 'spec/integration')
-rwxr-xr-xspec/integration/type/file.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/integration/type/file.rb b/spec/integration/type/file.rb
index 40f9244f1..4babdd5d1 100755
--- a/spec/integration/type/file.rb
+++ b/spec/integration/type/file.rb
@@ -7,6 +7,10 @@ require 'puppet_spec/files'
describe Puppet::Type.type(:file) do
include PuppetSpec::Files
+ before do
+ Puppet::Util::Log.newdestination :console
+ end
+
describe "when writing files" do
it "should backup files to a filebucket when one is configured" do
bucket = Puppet::Type.type(:filebucket).new :path => tmpfile("filebucket"), :name => "mybucket"