test that themes register with sass

This commit is contained in:
Ben Balter 2016-03-25 14:48:44 -04:00
parent bdaa0c3b5b
commit 4a70382d5b
1 changed files with 6 additions and 0 deletions

View File

@ -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