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