diff --git a/spec/overcommit/cli_spec.rb b/spec/overcommit/cli_spec.rb index 87d6e4c4..3d95b09d 100644 --- a/spec/overcommit/cli_spec.rb +++ b/spec/overcommit/cli_spec.rb @@ -133,6 +133,7 @@ before do cli.stub(:halt) + Overcommit::HookRunner.any_instance.stub(:run) end it 'creates a HookRunner with the diff context' do