Sha256: 3d62a129b3ef06e11e3d043002af2efb34507dd261a3181e51de80c2a715c0a7

Contents?: true

Size: 570 Bytes

Versions: 3

Compression:

Stored size: 570 Bytes

Contents

require 'spec_helper'
require 'sass/media_query_combiner/combiner'

describe Sass::MediaQueryCombiner::Combiner do
  it "should handle keyframes in media queries" do
    Timeout::timeout(0.5) do
      Sass::MediaQueryCombiner::Combiner.combine <<CSS
@media (min-width: 40em) {
  @-webkit-keyframes whatever {}
}
CSS
    end
  end

  it "should handle debug info" do
    Timeout::timeout(0.5) do
      Sass::MediaQueryCombiner::Combiner.combine <<CSS
@media (max-width: 480px) {
@media -sass-debug-info {filename{}line{}}
  h1 {
    color: red; } }
CSS
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sass-media_query_combiner-0.0.7 spec/lib/sass-media_query_combiner/combiner_spec.rb
sass-media_query_combiner-0.0.6 spec/lib/sass-media_query_combiner/combiner_spec.rb
sass-media_query_combiner-0.0.5 spec/lib/sass-media_query_combiner/combiner_spec.rb