Sha256: 01a21262c847da1ee2f19fe6eba5f5db3619bddea8778c6bbdeccf4512f7f27b

Contents?: true

Size: 1.06 KB

Versions: 19

Compression:

Stored size: 1.06 KB

Contents

# frozen_string_literal: true

$LOAD_PATH.unshift(File.expand_path('../lib', File.dirname(__FILE__)))

require 'datadog_backup'
require 'logger'
require 'tmpdir'
require 'dogapi'

$stdout.sync = $stderr.sync = true
LOGGER = Logger.new($stderr) unless defined?(LOGGER)
LOGGER.level = Logger::INFO
$stdout = File.new('/dev/null', 'w+')

SPEC_ROOT = __dir__
WORK_ROOT = File.expand_path(File.join(SPEC_ROOT, '..'))

RSpec.configure do |config|
  config.expect_with :rspec do |expectations|
    expectations.include_chain_clauses_in_custom_matcher_descriptions = true
  end
  config.mock_with :rspec do |mocks|
    mocks.verify_partial_doubles = true
  end

  config.filter_run :focus
  config.run_all_when_everything_filtered = true

  if config.files_to_run.one?
    # Use the documentation formatter for detailed output,
    # unless a formatter has already been configured
    # (e.g. via a command-line flag).
    config.default_formatter = 'doc'
  end

  config.example_status_persistence_file_path = File.join(SPEC_ROOT, 'helpers', 'failures.txt')

  Kernel.srand config.seed
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
datadog_backup-2.0.1 spec/spec_helper.rb
datadog_backup-2.0.0 spec/spec_helper.rb
datadog_backup-1.1.4 spec/spec_helper.rb
datadog_backup-1.1.3 spec/spec_helper.rb
datadog_backup-1.1.2 spec/spec_helper.rb
datadog_backup-1.1.1 spec/spec_helper.rb
datadog_backup-1.1.0 spec/spec_helper.rb
datadog_backup-1.0.5 spec/spec_helper.rb
datadog_backup-1.0.4 spec/spec_helper.rb
datadog_backup-1.0.3 spec/spec_helper.rb
datadog_backup-1.0.2 spec/spec_helper.rb
datadog_backup-1.0.1 spec/spec_helper.rb
datadog_backup-1.0.1.alpha.1 spec/spec_helper.rb
datadog_backup-1.0.0 spec/spec_helper.rb
datadog_backup-1.0.0.alpha.2 spec/spec_helper.rb
datadog_backup-1.0.0.alpha.1 spec/spec_helper.rb
datadog_backup-0.11.0 spec/spec_helper.rb
datadog_backup-0.10.3 spec/spec_helper.rb
datadog_backup-0.11.0.alpha.1 spec/spec_helper.rb