summaryrefslogtreecommitdiff
path: root/spec/unit/provider/remote_directory_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/provider/remote_directory_spec.rb')
-rw-r--r--spec/unit/provider/remote_directory_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/provider/remote_directory_spec.rb b/spec/unit/provider/remote_directory_spec.rb
index 4434714ebc..99e2fe285c 100644
--- a/spec/unit/provider/remote_directory_spec.rb
+++ b/spec/unit/provider/remote_directory_spec.rb
@@ -194,8 +194,8 @@ describe Chef::Provider::RemoteDirectory do
expect(::File.exist?(symlinked_dir_path)).to be_falsey
expect(::File.exist?(tmp_dir)).to be_truthy
- rescue Chef::Exceptions::Win32APIError => e
- pending "This must be run as an Administrator to create symlinks"
+ rescue Chef::Exceptions::Win32APIError
+ skip "This must be run as an Administrator to create symlinks"
end
end
end