Sha256: 52e6ec335395596d9c9d12c9594a32c36b85238d59e29275f4f722b833f63ccb
Contents?: true
Size: 613 Bytes
Versions: 5
Compression:
Stored size: 613 Bytes
Contents
require File.expand_path("#{File.dirname(__FILE__)}/../spec_helper") if !Object.const_defined?(:Sass) puts "Skipping Sass spec... run 'gem install haml' to enable these tests." else module CacheSpec describe Erector::Sass do include Erector::Mixin it "works" do erector {sass SAMPLE_SASS}.should == SAMPLE_CSS end end end end SAMPLE_SASS =<<-SASS h1 height: 118px margin-top: 1em .tagline font-size: 26px text-align: right SASS SAMPLE_CSS ="""<style>h1 { height: 118px; margin-top: 1em; } .tagline { font-size: 26px; text-align: right; } </style>"""
Version data entries
5 entries across 5 versions & 2 rubygems