Sha256: 44a949ccaaf2d7e5dfd724861a09a04d9e97aa3829877ba44a5ddbe0cce9bc9e

Contents?: true

Size: 430 Bytes

Versions: 6

Compression:

Stored size: 430 Bytes

Contents

require 'spec_helper'

describe SCSSLint::Linter::SpaceAfterPropertyName do
  context 'when a property name is followed by a space' do
    let(:css) { <<-CSS }
      p {
        margin : 0;
      }
    CSS

    it { should report_lint line: 2 }
  end

  context 'when a property name is not followed by a space' do
    let(:css) { <<-CSS }
      p {
        margin: 0;
      }
    CSS

    it { should_not report_lint }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
scss-lint-0.29.0 spec/scss_lint/linter/space_after_property_name_spec.rb
scss-lint-0.28.0 spec/scss_lint/linter/space_after_property_name_spec.rb
scss-lint-0.27.0 spec/scss_lint/linter/space_after_property_name_spec.rb
scss-lint-0.26.2 spec/scss_lint/linter/space_after_property_name_spec.rb
scss-lint-0.26.1 spec/scss_lint/linter/space_after_property_name_spec.rb
scss-lint-0.26.0 spec/scss_lint/linter/space_after_property_name_spec.rb