Sha256: c629c99d994e29c3c38e5f5486eb5c17685d7b5c1939f400c07686f74accf321

Contents?: true

Size: 453 Bytes

Versions: 17

Compression:

Stored size: 453 Bytes

Contents

require "spec_helper"

describe "hidpi-media-query" do
  before(:all) do
    ParserSupport.parse_file("css3/hidpi-media-query")
  end

  context "called with defaults" do
    it "outputs defaults" do
      rule = "color: #ff0000"

      expect(".hidpi-defaults").to have_rule(rule)
    end
  end

  context "called with ratio" do
    it "outputs ratio" do
      rule = "color: #00ff00"

      expect(".hidpi-ratio").to have_rule(rule)
    end
  end
end

Version data entries

17 entries across 17 versions & 3 rubygems

Version Path
bourbon-4.3.4 spec/bourbon/css3/hidpi_media_query_spec.rb
bourbon-4.3.3 spec/bourbon/css3/hidpi_media_query_spec.rb
bourbon-4.3.2 spec/bourbon/css3/hidpi_media_query_spec.rb
bourbon-4.3.1 spec/bourbon/css3/hidpi_media_query_spec.rb
bourbon-4.3.0 spec/bourbon/css3/hidpi_media_query_spec.rb
bourbon-4.2.7 spec/bourbon/css3/hidpi_media_query_spec.rb
styler-sass-0.1.8.alpha spec/bourbon/css3/hidpi_media_query_spec.rb
styler-sass-0.1.7 spec/bourbon/css3/hidpi_media_query_spec.rb
styler-sass-0.1.7.alpha spec/bourbon/css3/hidpi_media_query_spec.rb
styler-sass-0.1.5.alpha spec/bourbon/css3/hidpi_media_query_spec.rb
bourbon-4.2.6 spec/bourbon/css3/hidpi_media_query_spec.rb
bourbon-4.2.5 spec/bourbon/css3/hidpi_media_query_spec.rb
bourbon-4.2.4 spec/bourbon/css3/hidpi_media_query_spec.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/bourbon-4.2.3/spec/bourbon/css3/hidpi_media_query_spec.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/bourbon-4.2.3/spec/bourbon/css3/hidpi_media_query_spec.rb
bourbon-4.2.3 spec/bourbon/css3/hidpi_media_query_spec.rb
bourbon-4.2.2 spec/bourbon/css3/hidpi_media_query_spec.rb