spec/spec_helper.rb in vvm-rb-1.0.8 vs spec/spec_helper.rb in vvm-rb-1.1.0
- old
+ new
@@ -14,18 +14,20 @@
require 'rspec'
require 'fileutils'
require 'tmpdir'
require 'vvm'
-VERSION1, VERSION2 = 'v7.4.083', 'v7.4.103'
+VERSION1 = 'v7.4.083'.freeze
+VERSION2 = 'v7.4.103'.freeze
# [todo] - test is too slow
RSpec.configure do |config|
config.before :suite do
cache = cache_dir
unless File.exist?(cache)
ENV['VVMROOT'] = cache
+ ENV['VVMOPT'] = nil
FileUtils.mkdir_p(cache)
Vvm::Installer.fetch
[VERSION1, VERSION2].each do |v|
i = Vvm::Installer.new(v, [], true)
i.checkout