0

I've got a very simple serverspec test below:

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

However, the test is failing. I know that the directory exists. What's the deal?

     File "C:\blah"
       should exist (FAILED - 1)
       should be directory (FAILED - 2)
Matthew Schuchard
  • 25,172
  • 3
  • 47
  • 67
devlife
  • 15,275
  • 27
  • 77
  • 131

0 Answers0