Sha256: 417edaffc3025e412fb699e1e3841ca53f4b9cf6824dbdf4f6951c66ee320c6a

Contents?: true

Size: 513 Bytes

Versions: 2

Compression:

Stored size: 513 Bytes

Contents

require 'support/fake_api'
require 'support/fake_github'
require 'support/helpers'

require 'fileutils'
require 'travis'
require 'highline'
require 'tmpdir'

temp_dir = nil

RSpec.configure do |c|
  c.include Helpers

  c.before do
    HighLine.use_color = false
    temp_dir = File.expand_path('travis-spec', Dir.tmpdir)
    FileUtils.rm_rf(temp_dir)
    FileUtils.mkdir_p(temp_dir)
    ENV['TRAVIS_CONFIG_PATH'] = File.expand_path('travis', temp_dir)
  end

  c.after do
    FileUtils.rm_rf(temp_dir)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
travis-1.0.3 spec/spec_helper.rb
travis-1.0.2 spec/spec_helper.rb