summaryrefslogtreecommitdiff
path: root/spec/lib/puppet_spec/verbose.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/puppet_spec/verbose.rb')
-rwxr-xr-xspec/lib/puppet_spec/verbose.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/lib/puppet_spec/verbose.rb b/spec/lib/puppet_spec/verbose.rb
deleted file mode 100755
index d9834f2..0000000
--- a/spec/lib/puppet_spec/verbose.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# Support code for running stuff with warnings disabled.
-module Kernel
- def with_verbose_disabled
- verbose, $VERBOSE = $VERBOSE, nil
- result = yield
- $VERBOSE = verbose
- return result
- end
-end