Tests need a logger.
This commit is contained in:
parent
bfcff75c32
commit
942a84dca0
@ -49,6 +49,8 @@ class SpritesTest < Test::Unit::TestCase
|
||||
options[:line_comments] = false
|
||||
options[:style] = :expanded
|
||||
options[:syntax] = :scss
|
||||
options[:compass] ||= {}
|
||||
options[:compass][:logger] ||= Compass::NullLogger.new
|
||||
css = Sass::Engine.new(scss, options).render
|
||||
# reformat to fit result of heredoc:
|
||||
" #{css.gsub('@charset "UTF-8";', '').gsub(/\n/, "\n ").strip}\n"
|
||||
|
Loading…
Reference in New Issue
Block a user