Sha256: 5db16b6196c9f5edae5a9d201e79aafd95b14f1608635c1b496d84221caff79f

Contents?: true

Size: 523 Bytes

Versions: 18

Compression:

Stored size: 523 Bytes

Contents

require 'test_helper'
require 'fileutils'
require 'sass'

class CompilationTest < Minitest::Test
  def test_compilation
    path = 'assets/stylesheets'
    %w(_helio).each do |file|
      FileUtils.rm_rf('.sass-cache', secure: true)
      engine = Sass::Engine.for_file("#{path}/#{file}.scss", syntax: :scss, load_paths: [path])
      FileUtils.mkdir_p("tmp/#{File.dirname(file)}")
      File.open("tmp/#{file}.css", 'w') { |f|
        f.write engine.render
      }
      assert true # nothing was raised
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

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