spec/spec_helper.rb in travis-1.11.1 vs spec/spec_helper.rb in travis-1.12.0

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + require 'support/fake_api' require 'support/fake_github' require 'support/helpers' require 'fileutils' @@ -19,10 +21,10 @@ c.before do temp_dir = File.expand_path('travis-spec', Dir.tmpdir) FileUtils.rm_rf(temp_dir) FileUtils.mkdir_p(temp_dir) - ENV.delete_if { |k,v| k.start_with? "TRAVIS_" } + ENV.delete_if { |k, _v| k.start_with? 'TRAVIS_' } ENV['TRAVIS_CONFIG_PATH'] = File.expand_path('travis', temp_dir) end c.after do FileUtils.rm_rf(temp_dir)