spec/reek/cli/application_spec.rb in reek-4.1.1 vs spec/reek/cli/application_spec.rb in reek-4.2.0

- old
+ new

@@ -66,11 +66,9 @@ context 'when source files are excluded through configuration' do let(:app) { Reek::CLI::Application.new ['--config', 'some_file.reek'] } before do - allow(File).to receive(:exist?).and_call_original - allow(File).to receive(:exist?).with('some_file.reek').and_return true allow(Reek::Configuration::AppConfiguration). to receive(:from_path). with(Pathname.new('some_file.reek')). and_return configuration end