Sha256: a2d636a884dc3fd4a211ee74a673d45b6c489c51c1233384ba27b27abf5b3e85

Contents?: true

Size: 823 Bytes

Versions: 27

Compression:

Stored size: 823 Bytes

Contents

require_relative 'spec_helper'


COMPASS_DIR     = Pathname(__FILE__).dirname.join('compass')
STYLESHEETS_DIR = COMPASS_DIR.join('stylesheets')

describe 'Compass integration' do
  after do
    STYLESHEETS_DIR.rmtree if STYLESHEETS_DIR.exist?
  end

  it 'works from config.rb' do
    `cd #{ COMPASS_DIR }; bundle exec compass compile`
    expect(STYLESHEETS_DIR.join('screen.css').read)
      .to eq("a{display:-webkit-box;display:-webkit-flex;" +
             "display:-ms-flexbox;display:flex}\n\n" +
             "/*# sourceMappingURL=screen.css.map */")
    expect(STYLESHEETS_DIR.join('screen.css.map').read)
      .to eq('{"version":3,"sources":["../sass/screen.scss"],"names":[],' +
             '"mappings":"AAAA,EACI,oBAAa,AAAb,qBAAa,AAAb,oBAAa,AAAb,YAAa,' +
             'CAAA","file":"screen.css"}')
  end

end

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
autoprefixer-rails-6.3.6 spec/compass_spec.rb
autoprefixer-rails-6.3.5 spec/compass_spec.rb
autoprefixer-rails-6.3.4 spec/compass_spec.rb
autoprefixer-rails-6.3.3.1 spec/compass_spec.rb
autoprefixer-rails-6.3.3 spec/compass_spec.rb
autoprefixer-rails-6.3.2 spec/compass_spec.rb
autoprefixer-rails-6.3.1 spec/compass_spec.rb
autoprefixer-rails-6.3.0 spec/compass_spec.rb
autoprefixer-rails-6.2.3 spec/compass_spec.rb
autoprefixer-rails-6.2.2 spec/compass_spec.rb
autoprefixer-rails-6.2.1 spec/compass_spec.rb
autoprefixer-rails-6.2.0 spec/compass_spec.rb
autoprefixer-rails-6.1.2 spec/compass_spec.rb
autoprefixer-rails-6.1.1 spec/compass_spec.rb
autoprefixer-rails-6.1.0.1 spec/compass_spec.rb
autoprefixer-rails-6.1.0 spec/compass_spec.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/autoprefixer-rails-6.0.3/spec/compass_spec.rb
autoprefixer-rails-6.0.3 spec/compass_spec.rb
autoprefixer-rails-6.0.2 spec/compass_spec.rb
autoprefixer-rails-6.0.1 spec/compass_spec.rb