Sha256: 55e8edfeeacd53e780b19a1225647a31ab45c6b5b2cc718ef4d61d7bc10491d5

Contents?: true

Size: 374 Bytes

Versions: 1

Compression:

Stored size: 374 Bytes

Contents

require 'spec_helper'
require 'scss_lint/rake_task'

describe SCSSLint::RakeTask do
  before do
    # Silence console output
    STDOUT.stub(:write)
  end

  describe '#run' do
    subject do
      SCSSLint::RakeTask.new
      Rake::Task['scss_lint']
    end

    it 'returns a successful exit code' do
      expect(subject.invoke.first.call).to be_truthy
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
scss-lint-0.32.0 spec/scss_lint/rake_task_spec.rb