0

我在下面有一个非常简单的 serverspec 测试:

describe file('C:\\blah') do
  it { should exist }
  it { should be_directory }
end

但是,测试失败了。我知道该目录存在。这是怎么回事?

     File "C:\blah"
       should exist (FAILED - 1)
       should be directory (FAILED - 2)
4

0 回答 0