diff --git a/test/test_sass.rb b/test/test_sass.rb index b39c8eea..b03b1137 100644 --- a/test/test_sass.rb +++ b/test/test_sass.rb @@ -1,47 +1,6 @@ require 'helper' class TestSass < Test::Unit::TestCase - def converter(overrides = {}) - Jekyll::Converters::Sass.new(site_configuration({"sass" => overrides})) - end - - def sass_content - <<-SASS -$font-stack: Helvetica, sans-serif -body - font-family: $font-stack - font-color: fuschia -SASS - end - - def scss_content - <<-SCSS -$font-stack: Helvetica, sans-serif; -body { - font-family: $font-stack; - font-color: fuschia; -} -SCSS - end - - def css_output - <<-CSS -body {\n font-family: Helvetica, sans-serif;\n font-color: fuschia; } -CSS - end - - context "converting sass" do - should "produce CSS" do - assert_equal css_output, converter.convert(sass_content) - end - end - - context "converting SCSS" do - should "produce CSS" do - assert_equal css_output, converter.convert(scss_content) - end - end - context "importing partials" do setup do @site = Jekyll::Site.new(Jekyll.configuration({