spec/scss_lint/cli_spec.rb in scss-lint-0.34.0 vs spec/scss_lint/cli_spec.rb in scss-lint-0.35.0
- old
+ new
@@ -32,9 +32,10 @@
let(:flags) { [] }
subject { SCSSLint::CLI.new }
before do
SCSSLint::FileFinder.any_instance.stub(:find).and_return(files)
+ SCSSLint::Runner.any_instance.stub(:find_lints)
end
def safe_run
subject.run(flags + files)
rescue SystemExit