From eb7eaf74ff56e7d42f5c21ea329f5ffc689deb41 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Mon, 5 Jan 2015 10:56:11 -0500 Subject: [PATCH] Fix failing push test --- test/unit/plugins/pushes/ftp/push_test.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/unit/plugins/pushes/ftp/push_test.rb b/test/unit/plugins/pushes/ftp/push_test.rb index 25d6e1229..1f6773e24 100644 --- a/test/unit/plugins/pushes/ftp/push_test.rb +++ b/test/unit/plugins/pushes/ftp/push_test.rb @@ -17,12 +17,19 @@ describe VagrantPlugins::FTPPush::Push do destination: "/var/www/site", ) end + let(:ui) do + double("ui", + info: nil, + ) + end subject { described_class.new(env, config) } before do allow(env).to receive(:root_path) .and_return(File.expand_path("..", __FILE__)) + allow(env).to receive(:ui) + .and_return(ui) end describe "#push" do