Sha256: f16dcd6d2052cd45672188ef93342034a9c763d6703e75d59ab2b966700f747e

Contents?: true

Size: 731 Bytes

Versions: 7

Compression:

Stored size: 731 Bytes

Contents

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'hatchet'
require 'rspec/retry'
require "bundler/setup"

RSpec.configure do |config|
  # Enable flags like --only-failures and --next-failure
  config.example_status_persistence_file_path = ".rspec_status"
  config.verbose_retry       = true # show retry status in spec process
  config.default_retry_count = 2 if ENV['IS_RUNNING_ON_CI'] # retry all tests that fail again

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end
end

ENV['HATCHET_BUILDPACK_BRANCH'] = "master"

require 'parallel_tests/test/runtime_logger' if ENV['RECORD_RUNTIME']

def run!(cmd)
  out = `#{cmd}`
  raise "Error running #{cmd}, output: #{out}" unless $?.success?
  out
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
heroku_hatchet-7.2.0 spec/spec_helper.rb
heroku_hatchet-7.1.3 spec/spec_helper.rb
heroku_hatchet-7.1.2 spec/spec_helper.rb
heroku_hatchet-7.1.1 spec/spec_helper.rb
heroku_hatchet-7.1.0 spec/spec_helper.rb
heroku_hatchet-7.0.0 spec/spec_helper.rb
heroku_hatchet-6.0.0 spec/spec_helper.rb