Remove unneeded tests for the sass converter plugin.

This commit is contained in:
Parker Moore 2014-05-06 21:09:51 -04:00
parent 13f19ea21a
commit aef2134128
1 changed files with 0 additions and 41 deletions

View File

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