Sha256: e75ae5edcafb76d54be2c18c44e6cd8fa04d340c008e51da60a7246eeb4409a5

Contents?: true

Size: 505 Bytes

Versions: 1

Compression:

Stored size: 505 Bytes

Contents

require 'spec_helper'

describe "new-breakpoint()" do
  let (:identifier) {"new-breakpoint"}

  before(:all) do
    ParserSupport.parse_file(identifier)
  end

  context "with argument 'max-width 768px 12'" do
    it "outputs (max-width 768px)" do
      expect('.responsive-element').to be_contained_in('screen and (max-width: 768px)')
    end

    it "adds 'max-width 768px 12' to visual grid breakpoints" do
      expect('$visual-grid-breakpoints').to have_value('max-width 768px 12')
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
neat-1.2.1 spec/neat/new_breakpoint_spec.rb