spec/scss_lint/runner_spec.rb in scss-lint-0.35.0 vs spec/scss_lint/runner_spec.rb in scss-lint-0.36.0

- old
+ new

@@ -34,17 +34,9 @@ it 'searches for lints in each file' do runner.should_receive(:find_lints).exactly(files.size).times subject end - context 'when no files are given' do - let(:files) { [] } - - it 'raises an error' do - expect { subject }.to raise_error SCSSLint::NoFilesError - end - end - context 'when all linters are disabled' do let(:config_options) do { 'linters' => { 'FakeLinter1' => { 'enabled' => false },