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.45.0 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.44.0 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.43.2 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.43.1 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.43.0 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.42.2 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.42.1 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.42.0 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.41.0 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.40.1 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.40.0 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.39.0 spec/scss_lint/linter/debug_statement_spec.rb
scss_lint-0.38.0 spec/scss_lint/linter/debug_statement_spec.rb
scss-lint-0.38.0 spec/scss_lint/linter/debug_statement_spec.rb
scss-lint-bliss-1.0.0 spec/scss_lint/linter/debug_statement_spec.rb
scss-lint-0.37.0 spec/scss_lint/linter/debug_statement_spec.rb
scss-lint-0.36.1 spec/scss_lint/linter/debug_statement_spec.rb
scss-lint-0.36.0 spec/scss_lint/linter/debug_statement_spec.rb
scss-lint-0.35.0 spec/scss_lint/linter/debug_statement_spec.rb
scss-lint-0.34.0 spec/scss_lint/linter/debug_statement_spec.rb