Sha256: ca3df9ac2157c11f76e9f8f50f4d83338093b22daf6b3cf5600f320817baac41

Contents?: true

Size: 413 Bytes

Versions: 40

Compression:

Stored size: 413 Bytes

Contents

require 'spec_helper'

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

    it { should_not report_lint }
  end

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

    it { should report_lint line: 1 }
  end
end

Version data entries

40 entries across 40 versions & 3 rubygems

Version Path
scss_lint-0.60.0 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.59.0 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.58.0 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.57.1 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.57.0 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.56.0 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.55.0 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.54.0 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.53.0 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.52.0 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.51.0 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.50.3 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.50.2 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.50.1 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.50.0 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.49.0 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.48.0 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.47.1 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.47.0 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.46.0 spec/scss_lint/linter/debug_statement_spec.rb