test that themes register with sass

This commit is contained in:
Ben Balter 2016-03-25 14:48:44 -04:00
부모 bdaa0c3b5b
커밋 4a70382d5b
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제

파일 보기

@ -25,6 +25,12 @@ class TestTheme < JekyllUnitTest
Theme.new("foo").version
end
end
should "add itself to sass's load path" do
refute Sass.load_paths.includes?(@theme.sass_path)
@theme.configure_sass
assert Sass.load_paths.includes?(@theme.sass_path)
end
end
context "path generation" do