Sha256: 92356b07540d623cf9ed7d33c2826a05928a42c1c2048a88116961812f1c21e3
Contents?: true
Size: 610 Bytes
Versions: 10
Compression:
Stored size: 610 Bytes
Contents
require 'test_helper' require 'fileutils' class CompilerTest < Test::Unit::TestCase it "should strip css from file name and reappend" do config = Compass::Configuration::Data.new("test", :project_path => Dir.pwd, :sass_dir => "foo", :css_dir => "bar") config.extend(Compass::Configuration::Defaults) compiler = Compass.sass_compiler({}, config) assert_equal 'screen', compiler.stylesheet_name(File.join(Dir.pwd, 'foo', 'screen.css.scss')) end end
Version data entries
10 entries across 10 versions & 2 rubygems