Skip theme-dir-symlink test if on Windows

This commit is contained in:
Ashwin Maroli 2018-12-18 23:18:48 +05:30
parent 57a05bf948
commit 878e0ba29c
1 changed files with 2 additions and 0 deletions

View File

@ -78,6 +78,8 @@ class TestThemeAssetsReader < JekyllUnitTest
context "symlinked theme" do context "symlinked theme" do
should "not read assets from symlinked theme" do should "not read assets from symlinked theme" do
skip_if_windows "Jekyll does not currently support symlinks on Windows."
begin begin
tmp_dir = Dir.mktmpdir("jekyll-theme-test") tmp_dir = Dir.mktmpdir("jekyll-theme-test")
File.open(File.join(tmp_dir, "test.txt"), "wb") { |f| f.write "content" } File.open(File.join(tmp_dir, "test.txt"), "wb") { |f| f.write "content" }