Sha256: 4ac9ac50964968ba687a7db4a0fb56b65dfd83f57ecec2955a21bf10e95754a8

Contents?: true

Size: 555 Bytes

Versions: 6

Compression:

Stored size: 555 Bytes

Contents

require 'test_helper'

class SassTest < Test::Unit::TestCase
  DUMMY_PATH = 'test/dummy_sass_only'

  def test_font_helper
    assert_match %r(url\(['"]?.*eot['"]?\)), @css
  end

  def setup
    Dir.chdir DUMMY_PATH do
      %x[bundle]
    end
    css_path = File.join Bootstrap.gem_path, 'tmp/bootstrap-sass-only.css'
    command = "bundle exec ruby compile.rb #{css_path}"
    Dir.chdir DUMMY_PATH do
      assert silence_stream(STDOUT) {
        system(command)
      }, 'Sass-only compilation failed'
    end
    @css = File.read(css_path)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bootstrap-sass-3.1.1.1 test/sass_test.rb
bootstrap-sass-3.1.1.0 test/sass_test.rb
bootstrap-sass-3.1.0.2 test/sass_test.rb
bootstrap-sass-3.1.0.1 test/sass_test.rb
bootstrap-sass-3.1.0.0 test/sass_test.rb
bootstrap-sass-3.0.3.0 test/sass_test.rb