diff options
author | sersut <serdar@opscode.com> | 2013-10-15 23:54:44 -0700 |
---|---|---|
committer | sersut <serdar@opscode.com> | 2013-10-16 10:08:29 -0700 |
commit | 896c25af83dbf1dd8b140580016395be4418cad9 (patch) | |
tree | e56d528edb4769216596e4276dba673147f130a7 | |
parent | 12d12b5a980f3d856feabc4b0bcc4f1ae491c229 (diff) | |
download | chef-896c25af83dbf1dd8b140580016395be4418cad9.tar.gz |
Fix Chef::Checksum::Storage::Filesystem unit tests after the changing default for checksum path in config.
-rw-r--r-- | spec/unit/checksum/storage/filesystem_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/unit/checksum/storage/filesystem_spec.rb b/spec/unit/checksum/storage/filesystem_spec.rb index 5be345ce4c..144dc69ff1 100644 --- a/spec/unit/checksum/storage/filesystem_spec.rb +++ b/spec/unit/checksum/storage/filesystem_spec.rb @@ -27,9 +27,10 @@ describe Chef::Checksum::Storage::Filesystem do @now = Time.now Time.stub!(:now).and_return(@now) + Chef::Config.stub!(:checksum_path).and_return("/var/chef/checksums") @checksum_of_the_file = "3fafecfb15585ede6b840158cbc2f399" - @storage = Chef::Checksum::Storage::Filesystem.new(Chef::Config.checksum_path, @checksum_of_the_file) + @storage = Chef::Checksum::Storage::Filesystem.new("/not/used/path", @checksum_of_the_file) end it "has the path to the file in the checksum repo" do |