Sha256: e2a64e76cde9696a2a30355aabc95d93de318e68e18f98b73e4ce79e534f1c6f
Contents?: true
Size: 562 Bytes
Versions: 18
Compression:
Stored size: 562 Bytes
Contents
require 'test_helper' require 'shellwords' class SassTest < Minitest::Test DUMMY_PATH = 'test/dummy_sass_only' def setup Dir.chdir DUMMY_PATH do %x[rm -rf .sass-cache/] %x[bundle] end css_path = File.join GEM_PATH, 'tmp/helio-sass-only.css' command = "bundle exec ruby compile.rb #{Shellwords.escape css_path}" success = Dir.chdir DUMMY_PATH do silence_stdout_if !ENV['VERBOSE'] do system(command) end end assert success, 'Sass-only compilation failed' @css = File.read(css_path) end end
Version data entries
18 entries across 18 versions & 1 rubygems