3854e076cc
This work updates a number of Gems to the latest versions (rspec, rspec-puppet), and updates and tweaks a bunch of tests to work with the updated gems.
9 lines
207 B
Ruby
Executable file
9 lines
207 B
Ruby
Executable file
# 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
|