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

Version Path
helio-0.1.12 test/sass_test.rb
helio-0.1.11 test/sass_test.rb
helio-0.1.10 test/sass_test.rb
helio-0.1.9 test/sass_test.rb
helio-0.1.8 test/sass_test.rb
helio-0.1.7 test/sass_test.rb
helio-0.1.6 test/sass_test.rb
helio-0.0.1.5 test/sass_test.rb
helio-0.0.1.4 test/sass_test.rb
helio-0.0.1.3 test/sass_test.rb
helio-0.0.1.2 test/sass_test.rb
helio-0.0.1.1 test/sass_test.rb
helio-0.0.1.0 test/sass_test.rb
helio-0.0.0.9 test/sass_test.rb
helio-0.0.0.8 test/sass_test.rb
helio-0.0.0.7 test/sass_test.rb
helio-0.0.0.6 test/sass_test.rb
helio-0.0.0.5 test/sass_test.rb