File: compiler_test.rb

package info (click to toggle)
ruby-compass 0.12.2~dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 8,308 kB
  • sloc: ruby: 10,474; makefile: 42; xml: 14
file content (11 lines) | stat: -rw-r--r-- 315 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
require 'test_helper'
require 'fileutils'

class CompilerTest < Test::Unit::TestCase
  
  it "should strip css from file name and reappend" do
    compiler = Compass::Compiler.new(Dir.pwd, 'foo', 'bar', {})
    assert_equal 'screen', compiler.stylesheet_name(File.join(Dir.pwd, 'foo', 'screen.css.scss'))
  end

end