summaryrefslogtreecommitdiff
path: root/spec/unit/cookbook/syntax_check_spec.rb
diff options
context:
space:
mode:
authordanielsdeleo <dan@opscode.com>2012-12-20 16:12:34 -0800
committerdanielsdeleo <dan@opscode.com>2012-12-21 12:15:18 -0800
commit2c460c191bcdb1acfe6978a6e7e7ff8e0273f973 (patch)
tree4a4a2d5e30377c6eb2e2f59e42674b789f2c07f6 /spec/unit/cookbook/syntax_check_spec.rb
parent6bdcab78353213c189c4feb9097949633b8e8e7b (diff)
downloadchef-2c460c191bcdb1acfe6978a6e7e7ff8e0273f973.tar.gz
[CHEF-3715] remove caching of sha256 cksums
This also eliminates the dependency on moneta.
Diffstat (limited to 'spec/unit/cookbook/syntax_check_spec.rb')
-rw-r--r--spec/unit/cookbook/syntax_check_spec.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/unit/cookbook/syntax_check_spec.rb b/spec/unit/cookbook/syntax_check_spec.rb
index e7eaba07bc..b9cea935b5 100644
--- a/spec/unit/cookbook/syntax_check_spec.rb
+++ b/spec/unit/cookbook/syntax_check_spec.rb
@@ -126,11 +126,6 @@ describe Chef::Cookbook::SyntaxCheck do
before do
Chef::Config[:cache_options] = {:path => cache_path }
- Chef::Config[:cache_type] = 'Memory'
- @checksum_cache_klass = Class.new(Chef::ChecksumCache)
- @checksum_cache = @checksum_cache_klass.instance
- @checksum_cache.reset!('Memory')
- syntax_check.stub!(:cache).and_return(@checksum_cache)
end
after do