templates/parent/spec/spec_helper.erb in opskeleton-0.8.10 vs templates/parent/spec/spec_helper.erb in opskeleton-0.8.11
- old
+ new
@@ -31,10 +31,10 @@
c.before :suite do
c.host = ENV['TARGET_HOST']
c.ssh.close if c.ssh
options = Net::SSH::Config.for(c.host)
if(!ENV['LOCAL'])
- run("vagrant destroy #{c.host} -f")
+ run("vagrant destroy #{c.host} -f") unless ENV['SKIP_DESTROY']
<% if(options[:bench_enable]) %>
WATCH.reset
<% end %>
run("vagrant up #{c.host}")
config = `vagrant ssh-config #{c.host}`