summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-11-13 13:48:16 -0800
committerTim Smith <tsmith@chef.io>2018-11-14 15:01:36 -0800
commit7a862eb2b85c8dbe68f114863bd177e84da7596c (patch)
treefdcabf589a12ca770a40a2218b227e1e444582ac
parentc7cdc49cabcdafb59c5f9518e93d0f2f9595c3be (diff)
downloadchef-gem_spec_cleanup.tar.gz
Don't set chef_gem_compile_time config in the chef_gem specgem_spec_cleanup
We removed this config in Chef 13. There's no need to set it in the spec anymore. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--spec/unit/resource/chef_gem_spec.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/unit/resource/chef_gem_spec.rb b/spec/unit/resource/chef_gem_spec.rb
index d4c94b0ac7..a8429d0812 100644
--- a/spec/unit/resource/chef_gem_spec.rb
+++ b/spec/unit/resource/chef_gem_spec.rb
@@ -73,10 +73,7 @@ describe Chef::Resource::ChefGem, "gem_binary" do
Chef::Recipe.new("hjk", "test", run_context)
end
- let(:chef_gem_compile_time) { nil }
-
let(:resource) do
- Chef::Config[:chef_gem_compile_time] = chef_gem_compile_time
Chef::Resource::ChefGem.new("foo", run_context)
end