tasks/acceptance.rake in vagrant-0.8.10 vs tasks/acceptance.rake in vagrant-0.9.0
- old
+ new
@@ -10,11 +10,11 @@
namespace :acceptance do
desc "Downloads the boxes required for running the acceptance tests."
task :boxes, :directory do |t, args|
# Create the directory where the boxes will be downloaded
- box_dir = Pathname.new(args[:directory] || File.expand_path("../../test/tmp/boxes", __FILE__))
+ box_dir = Pathname.new(args[:directory] || File.expand_path("../../boxes", __FILE__))
box_dir.mkpath
puts "Boxes will be placed in: #{box_dir}"
# Load the required boxes
boxes = YAML.load_file(File.expand_path("../../test/config/acceptance_boxes.yml", __FILE__))
@@ -71,13 +71,13 @@
end
desc "Generates the configuration for acceptance tests from current source."
task :config, :box_dir do |t, args|
require File.expand_path("../../lib/vagrant/version", __FILE__)
- require File.expand_path('../../test/acceptance/support/tempdir', __FILE__)
+ require File.expand_path('../../test/support/tempdir', __FILE__)
# Get the directory for the boxes
- box_dir = Pathname.new(args[:box_dir] || File.expand_path("../../test/tmp/boxes", __FILE__))
+ box_dir = Pathname.new(args[:box_dir] || File.expand_path("../../boxes", __FILE__))
# Generate the binstubs for the Vagrant binary
tempdir = Tempdir.new
process = ChildProcess.build("bundle", "install", "--binstubs", tempdir.path)
process.io.inherit!