Sha256: 83fa3376f4fd7cdab5529dabb456795953f6bef456a11deeca06ec7b3f1ead6d

Contents?: true

Size: 407 Bytes

Versions: 10

Compression:

Stored size: 407 Bytes

Contents

require 'spec_helper'

describe SCSSLint::Linter::DebugStatement do
  context 'when no debug statements are present' do
    let(:css) { <<-CSS }
      p {
        color: #fff;
      }
    CSS

    it { should_not report_lint }
  end

  context 'when a debug statement is present' do
    let(:css) { <<-CSS }
      @debug 'This is a debug statement';
    CSS

    it { should report_lint line: 1 }
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
scss-lint-0.33.0 spec/scss_lint/linter/debug_statement_spec.rb
scss-lint-0.32.0 spec/scss_lint/linter/debug_statement_spec.rb
scss-lint-0.31.0 spec/scss_lint/linter/debug_statement_spec.rb
scss-lint-0.30.0 spec/scss_lint/linter/debug_statement_spec.rb
scss-lint-0.29.0 spec/scss_lint/linter/debug_statement_spec.rb
scss-lint-0.28.0 spec/scss_lint/linter/debug_statement_spec.rb
scss-lint-0.27.0 spec/scss_lint/linter/debug_statement_spec.rb
scss-lint-0.26.2 spec/scss_lint/linter/debug_statement_spec.rb
scss-lint-0.26.1 spec/scss_lint/linter/debug_statement_spec.rb
scss-lint-0.26.0 spec/scss_lint/linter/debug_statement_spec.rb