test that themes register with sass
This commit is contained in:
parent
bdaa0c3b5b
commit
4a70382d5b
|
@ -25,6 +25,12 @@ class TestTheme < JekyllUnitTest
|
||||||
Theme.new("foo").version
|
Theme.new("foo").version
|
||||||
end
|
end
|
||||||
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
|
end
|
||||||
|
|
||||||
context "path generation" do
|
context "path generation" do
|
||||||
|
|
Loading…
Reference in New Issue