mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-09 15:08:08 -05:00
First draft
This commit is contained in:
1
test/source/_sass/_grid.scss
Normal file
1
test/source/_sass/_grid.scss
Normal file
@@ -0,0 +1 @@
|
||||
.half { width: 50%; }
|
||||
4
test/source/css/main.scss
Normal file
4
test/source/css/main.scss
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
---
|
||||
|
||||
@import "grid";
|
||||
@@ -104,4 +104,14 @@ CSS
|
||||
assert_equal css_output, converter.convert(scss_content)
|
||||
end
|
||||
end
|
||||
|
||||
context "importing partials" do
|
||||
setup do
|
||||
content = ""
|
||||
end
|
||||
|
||||
should "import SCSS" do
|
||||
assert_equal ".half { width: 30%; }", content
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user