Fix failing test

This commit is contained in:
Seth Vargo 2015-01-04 18:36:29 -05:00
parent 6d116cb152
commit 81de7154e6
1 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,11 @@ describe VagrantPlugins::FTPPush::Push do
subject { described_class.new(env, config) } subject { described_class.new(env, config) }
before do
allow(env).to receive(:root_path)
.and_return(File.expand_path("..", __FILE__))
end
describe "#push" do describe "#push" do
before(:all) do before(:all) do
@server = FakeFtp::Server.new(51234, 21213) @server = FakeFtp::Server.new(51234, 21213)