Make acceptance tasks easier to run

master
Mitchell Hashimoto 2012-01-08 23:04:14 -08:00
parent 8aa4e58ea8
commit 3fdc3bee4b
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ 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}"
@ -76,7 +76,7 @@ namespace :acceptance do
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