Sha256: c12db3f9706dad4fe2632ed3bacddb8fa418a3227a4e68568fa1ff508b5e5995

Contents?: true

Size: 690 Bytes

Versions: 2

Compression:

Stored size: 690 Bytes

Contents

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

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

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

2 entries across 2 versions & 1 rubygems

Version Path
etcdv3-0.1.5 spec/spec_helper.rb
etcdv3-0.1.4 spec/spec_helper.rb