spec/scss_lint/runner_spec.rb in scss-lint-0.37.0 vs spec/scss_lint/runner_spec.rb in scss-lint-0.38.0

- old
+ new

@@ -61,14 +61,14 @@ let(:error) do SCSSLint::FileEncodingError.new('Some error message') end before do - SCSSLint::Engine.stub(:new).with(file: files.last).and_raise(error) + SCSSLint::Engine.stub(:new).and_raise(error) end it 'records the error as a lint' do - expect { subject }.to change { runner.lints.count }.by(1) + subject.count.should == 2 end end context 'when files ere excluded for one linter' do let(:config_options) do