Sha256: bac16e31e47ea87e43c198799a1a26078df7dbd749126d5074f324e05fb0acdb

Contents?: true

Size: 616 Bytes

Versions: 85

Compression:

Stored size: 616 Bytes

Contents

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

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

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

85 entries across 85 versions & 3 rubygems

Version Path
travis-1.8.11.travis.1012.9 spec/spec_helper.rb
travis-1.8.11.travis.1011.9 spec/spec_helper.rb
travis-1.8.11.travis.1010.9 spec/spec_helper.rb
travis-1.8.11.travis.1009.9 spec/spec_helper.rb
travis-1.8.11.travis.1008.9 spec/spec_helper.rb
travis-1.8.11.travis.1007.9 spec/spec_helper.rb
travis-1.8.11.travis.1004.9 spec/spec_helper.rb
travis-1.8.11.travis.1003.9 spec/spec_helper.rb
travis-1.8.11.travis.1002.9 spec/spec_helper.rb
travis-1.8.11.travis.1001.9 spec/spec_helper.rb
travis-1.8.11.travis.1000.9 spec/spec_helper.rb
travis-1.8.11.travis.998.9 spec/spec_helper.rb
travis-1.8.10.travis.997.9 spec/spec_helper.rb
travis-1.8.10 spec/spec_helper.rb
travis-1.8.10.travis.994.9 spec/spec_helper.rb
travis-1.8.10.travis.953.11 spec/spec_helper.rb
travis-akerl-1.8.9.1 spec/spec_helper.rb
travis-akerl-1.8.9 spec/spec_helper.rb
travis-1.8.10.travis.950.11 spec/spec_helper.rb
travis-1.8.10.travis.948.11 spec/spec_helper.rb