Sha256: 4a006cb6ee77f55a3816a8f75e3e35baa43c4764faca0b7fa7fa3225e00c9a87

Contents?: true

Size: 954 Bytes

Versions: 2

Compression:

Stored size: 954 Bytes

Contents

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


# require 'simplecov'
# require 'codecov'
# SimpleCov.start
# SimpleCov.formatter = SimpleCov::Formatter::Codecov

require 'etcdv3'
require 'helpers/test_instance'
require 'helpers/connections'
require 'helpers/shared_examples_for_timeout'

$instance = Helpers::TestInstance.new

RSpec.configure do |config|
  config.include(Helpers::Connections)

  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.shared_context_metadata_behavior = :apply_to_host_groups

  config.before(:suite) do
    $stderr = File.open(File::NULL, "w")
    $instance.start
  end
  config.after(:suite) do
    $instance.stop
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
etcdv3-0.11.4 spec/spec_helper.rb
etcdv3-0.11.3 spec/spec_helper.rb