Fix failing push test

This commit is contained in:
Seth Vargo 2015-01-05 10:56:11 -05:00
parent 1699c92eec
commit eb7eaf74ff
1 changed files with 7 additions and 0 deletions

View File

@ -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