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

- old
+ new

@@ -69,10 +69,10 @@ let(:error) do SCSSLint::FileEncodingError.new('Some error message') end before do - SCSSLint::Engine.stub(:new).with(files.last).and_raise(error) + SCSSLint::Engine.stub(:new).with(file: files.last).and_raise(error) end it 'records the error as a lint' do expect { subject }.to change { runner.lints.count }.by(1) end