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

Version Path
arcabouco-0.2.13 vendor/bundle/gems/compass-1.0.3/test/units/compiler_test.rb
compass-1.0.3 test/units/compiler_test.rb
compass-1.1.0.alpha.3 test/units/compiler_test.rb
compass-1.1.0.alpha.2 test/units/compiler_test.rb
compass-1.1.0.alpha.1 test/units/compiler_test.rb
compass-1.1.0.alpha.0 test/units/compiler_test.rb
compass-1.0.1 test/units/compiler_test.rb
compass-1.0.0 test/units/compiler_test.rb
compass-1.0.0.rc.1 test/units/compiler_test.rb
compass-1.0.0.rc.0 test/units/compiler_test.rb