Confine out tests that fail on unix
This commit is contained in:
Родитель
d1b86ec961
Коммит
d72fd9d8fc
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче