test/unit/plugins/commands/push/command_test.rb in vagrant-unbundled-1.9.7.1 vs test/unit/plugins/commands/push/command_test.rb in vagrant-unbundled-1.9.8.1

- old
+ new

@@ -20,10 +20,10 @@ let(:pushes) { {} } subject { described_class.new(argv, env) } before do - Vagrant.plugin("2").manager.stub(pushes: pushes) + allow(Vagrant.plugin("2").manager).to receive(:pushes).and_return(pushes) end describe "#execute" do before do allow(subject).to receive(:validate_pushes!)