Skip theme-dir-symlink test if on Windows
This commit is contained in:
parent
57a05bf948
commit
878e0ba29c
|
@ -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" }
|
||||||
|
|
Loading…
Reference in New Issue