Sha256: 1e920eb79a9dbdad851a5f560ef9f22a098d55246d31451f41b3ac24dc2dff1f

Contents?: true

Size: 795 Bytes

Versions: 9

Compression:

Stored size: 795 Bytes

Contents

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

require 'etcdv3'
require 'simplecov'
require 'codecov'
require 'helpers/test_instance'
require 'helpers/connections'

SimpleCov.start
SimpleCov.formatter = SimpleCov::Formatter::Codecov

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

  instance = Helpers::TestInstance.new
  config.before(:suite) do
    instance.start
  end
  config.after(:suite) do
    instance.stop
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
etcdv3-0.6.0 spec/spec_helper.rb
etcdv3-0.5.2 spec/spec_helper.rb
etcdv3-0.5.1 spec/spec_helper.rb
etcdv3-0.5.0 spec/spec_helper.rb
etcdv3-0.4.0 spec/spec_helper.rb
etcdv3-0.3.2 spec/spec_helper.rb
etcdv3-0.3.1 spec/spec_helper.rb
etcdv3-0.3.0 spec/spec_helper.rb
etcdv3-0.2.0 spec/spec_helper.rb