Sha256: 27d22f12a04aa084b383d24be2085de0bd86bc4d3191e22870e07bf3b5ad5431
Contents?: true
Size: 500 Bytes
Versions: 5
Compression:
Stored size: 500 Bytes
Contents
require 'test_helper' require 'fileutils' class CompilationTest < Test::Unit::TestCase def test_compilation path = 'vendor/assets/stylesheets' %w(bootstrap bootstrap/_theme).each do |file| engine = Sass::Engine.for_file("#{path}/#{file}.scss", syntax: :scss, load_paths: [path]) assert_nothing_raised do FileUtils.mkdir_p("tmp/#{File.dirname(file)}") File.open("tmp/#{file}.css", 'w') { |f| f.write engine.render } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems