diff options
author | Jesse Wolfe <jes5199@gmail.com> | 2010-06-09 17:39:54 -0700 |
---|---|---|
committer | test branch <puppet-dev@googlegroups.com> | 2010-02-17 06:50:53 -0800 |
commit | d72fd9d8fcab489202831874186dae0ffce5a7d3 (patch) | |
tree | ac7d6c408365012f3d6eeea2f0c3a461076ed8e4 | |
parent | d1b86ec9610186696bb17713b07c3cdcb9dd5b89 (diff) | |
download | puppet-d72fd9d8fcab489202831874186dae0ffce5a7d3.tar.gz puppet-d72fd9d8fcab489202831874186dae0ffce5a7d3.tar.xz puppet-d72fd9d8fcab489202831874186dae0ffce5a7d3.zip |
Confine out tests that fail on unix
-rwxr-xr-x | spec/unit/type/file.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/unit/type/file.rb b/spec/unit/type/file.rb index 548fc1b8f..b7a27d1f1 100755 --- a/spec/unit/type/file.rb +++ b/spec/unit/type/file.rb @@ -209,6 +209,7 @@ describe Puppet::Type.type(:file) do end describe "when using Win32 filenames" do + confine "Only works on Win32" => Puppet.features.win32? describe "on Win32 systems" do before do Puppet.features.stubs(:posix?).returns(false) @@ -271,6 +272,7 @@ describe Puppet::Type.type(:file) do describe "when using UNC filenames" do describe "on Win32 systems" do + confine "Only works on Win32" => Puppet.features.win32? before do Puppet.features.stubs(:posix?).returns(false) Puppet.features.stubs(:win32?).returns(true) |