summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Helwig <jacob@puppetlabs.com>2011-08-02 11:39:02 -0700
committerJacob Helwig <jacob@puppetlabs.com>2011-08-02 16:34:05 -0700
commit660ea963ddc5c74a758f6d52384ea40a8d335c58 (patch)
tree300c5c49474a79f187c0c482836c536332e85788
parent5314376d4378c4b4f990a7d61a9677594e12a2a5 (diff)
downloadpuppet-660ea963ddc5c74a758f6d52384ea40a8d335c58.tar.gz
puppet-660ea963ddc5c74a758f6d52384ea40a8d335c58.tar.xz
puppet-660ea963ddc5c74a758f6d52384ea40a8d335c58.zip
Disable file bucket diffing tests on Windows
The diffing ability of the file bucket is purely master functionality, and not supported on Windows. Reviewed-by: Nick Lewis <nick@puppetlabs.com>
-rwxr-xr-xspec/unit/indirector/file_bucket_file/file_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/indirector/file_bucket_file/file_spec.rb b/spec/unit/indirector/file_bucket_file/file_spec.rb
index eb86eee85..808da17d8 100755
--- a/spec/unit/indirector/file_bucket_file/file_spec.rb
+++ b/spec/unit/indirector/file_bucket_file/file_spec.rb
@@ -111,7 +111,7 @@ describe Puppet::FileBucketFile::File do
end
end
- describe "when diffing files" do
+ describe "when diffing files", :unless => Puppet.features.microsoft_windows? do
it "should generate an empty string if there is no diff" do
checksum = save_bucket_file("I'm the contents of a file")
Puppet::FileBucket::File.indirection.find("md5/#{checksum}", :diff_with => checksum).should == ''