test/test_utils.rb in tzinfo-1.2.2 vs test/test_utils.rb in tzinfo-1.2.3

- old
+ new

@@ -26,10 +26,12 @@ File.delete(path) if File.exist?(path) begin FileUtils.ln_s(target, path) - rescue NotImplementedError + rescue NotImplementedError, Errno::EACCES + # Symlinks not supported on this platform, or permission denied + # (administrative rights are required on Windows). Copy instead. target_path = File.join(TZINFO_TEST_ZONEINFO_DIR, target) FileUtils.cp(target_path, path) end end end