Sha256: c6855b05d69a418582ac87c1eae088daf4ad4ae59cb50e9a56885d73cab4fed8
Contents?: true
Size: 710 Bytes
Versions: 6
Compression:
Stored size: 710 Bytes
Contents
# frozen_string_literal: true require 'support/fake_api' require 'support/fake_github' require 'support/helpers' require 'fileutils' require 'travis' require 'highline' require 'highline/io_console_compatible' require 'tmpdir' require 'rspec/its' temp_dir = nil HighLine.use_color = false HighLine.define_singleton_method(:use_color=) { |_| } RSpec.configure do |c| c.include Helpers 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['TRAVIS_CONFIG_PATH'] = File.expand_path('travis', temp_dir) end c.after do FileUtils.rm_rf(temp_dir) end end
Version data entries
6 entries across 6 versions & 1 rubygems