From f6b369fea62f5e52c5fc6fe4d6d75bc92b4334a3 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Sat, 28 Mar 2020 09:06:34 -0700 Subject: [PATCH] Disable checkpoint setup in cli testing --- test/unit/bin/vagrant_test.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/unit/bin/vagrant_test.rb b/test/unit/bin/vagrant_test.rb index d3f0b19ca..42245631b 100644 --- a/test/unit/bin/vagrant_test.rb +++ b/test/unit/bin/vagrant_test.rb @@ -102,6 +102,11 @@ describe "vagrant bin" do allow(Kernel).to receive(:at_exit) allow(Kernel).to receive(:exit) allow(Vagrant::Environment).to receive(:new).and_call_original + + # Include this to intercept checkpoint instance setup + # since it is a singleton + allow(Vagrant::Util::CheckpointClient). + to receive_message_chain(:instance, :setup, :check) end it "should include default CLI flags in command help output" do