Sha256: 198b88934a0050d7e444d4378447cd8b571c37e506f390687540580f0fa8f10c

Contents?: true

Size: 676 Bytes

Versions: 14

Compression:

Stored size: 676 Bytes

Contents

# Add this folder to the load path for "test_helper"
$:.unshift(File.dirname(__FILE__))

require 'vagrant'
require 'contest'
require 'mocha'

# Try to load ruby debug since its useful if it is available.
# But not a big deal if its not available (probably on a non-MRI
# platform)
begin
  require 'ruby-debug'
rescue LoadError
end

# Set the home directory to some temporary directory
ENV["HOME"] = Vagrant.source_root.join("test", "tmp", "home").to_s

# Set the log output to nothing
ENV["VAGRANT_LOG"] = "NULL"

# Add the I18n locale for tests
I18n.load_path << File.expand_path("../locales/en.yml", __FILE__)

class Test::Unit::TestCase
  include Vagrant::TestHelpers
end

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
vagrantup-0.8.7 test/unit/test_helper.rb
vagrantup-0.8.6 test/test_helper.rb
vagrantup-0.8.5 test/test_helper.rb
vagrantup-0.8.4 test/test_helper.rb
vagrantup-0.8.3 test/test_helper.rb
vagrantup-0.8.2 test/test_helper.rb
vagrantup-0.8.1 test/test_helper.rb
vagrantup-0.8.0 test/test_helper.rb
vagrant-0.8.7 test/unit/test_helper.rb
rvagrant-0.8.7.dev test/unit/test_helper.rb
vagrant-0.8.6 test/test_helper.rb
vagrant-0.8.5 test/test_helper.rb
vagrant-0.8.2 test/test_helper.rb
vagrant-0.8.1 test/test_helper.rb