Sha256: 28f8545274c78375c7f0435f5fdbec542946b49f35b2e74fb46ca0c231d87861
Contents?: true
Size: 478 Bytes
Versions: 2
Compression:
Stored size: 478 Bytes
Contents
require 'test_helper' require 'fileutils' class NodeSassTest < Minitest::Test def test_node_sass_compilation path = 'assets/stylesheets' %w(bootstrap bootstrap/_theme).each do |file| FileUtils.mkdir_p 'tmp/node-sass' command = "node-sass #{path}/#{file} -o tmp/node-sass/#{File.basename file}.css" success = silence_stderr_if !ENV['VERBOSE'] do system command end assert success, 'node-sass compilation failed' end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
bootstrap-sass-3.2.0.4 | test/node_sass_test.rb |
bootstrap-sass-backport-3.2.0.2 | test/node_sass_test.rb |