summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-06-23 10:19:10 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2017-06-23 10:19:10 -0700
commit73fa7fbd484473bc03fc1be916af35f941999a9a (patch)
treede54b4a314b2ee5285c562d39c294c4d5145e37d
parent3f7cafbe0e02fe7de05159963a83d7e18cda7d92 (diff)
downloadchef-lcg/testing1.tar.gz
more timinglcg/testing1
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--spec/functional/resource/msu_package_spec.rb10
1 files changed, 8 insertions, 2 deletions
diff --git a/spec/functional/resource/msu_package_spec.rb b/spec/functional/resource/msu_package_spec.rb
index 640c3aa855..7190b2114e 100644
--- a/spec/functional/resource/msu_package_spec.rb
+++ b/spec/functional/resource/msu_package_spec.rb
@@ -41,7 +41,11 @@ describe Chef::Resource::MsuPackage, :win2012r2_only do
end
context "installing package" do
- after { remove_package }
+ after do
+ puts Benchmark.measure {
+ remove_package
+ }
+ end
it "installs the package successfully" do
puts Benchmark.measure {
@@ -54,7 +58,9 @@ describe Chef::Resource::MsuPackage, :win2012r2_only do
context "removing a package" do
it "removes an installed package" do
- subject.run_action(:install)
+ puts Benchmark.measure {
+ subject.run_action(:install)
+ }
puts Benchmark.measure {
remove_package
}