Only patch fake_ftp when running tests
The fake_ftp patches should only be applied when running tests. Since the library is a development dependency only, it will not be available for loading from a release.
This commit is contained in:
parent
8e83537f7d
commit
d31f9a59a5
@ -18,9 +18,6 @@ end
|
||||
# Add our patches to net-ssh
|
||||
require "vagrant/patches/net-ssh"
|
||||
|
||||
# Add our patches to fake_ftp
|
||||
require "vagrant/patches/fake_ftp"
|
||||
|
||||
require "optparse"
|
||||
|
||||
module Vagrant
|
||||
|
||||
@ -10,6 +10,9 @@ require "rspec/its"
|
||||
require "vagrant"
|
||||
require "vagrant/util/platform"
|
||||
|
||||
# Include patches for fake ftp
|
||||
require "vagrant/patches/fake_ftp"
|
||||
|
||||
# Add the test directory to the load path
|
||||
$:.unshift File.expand_path("../../", __FILE__)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user