Sha256: 72870e22f30acad24b5c61211ce9b50a9e3924685ce3423f2f0b2a362178c8f2
Contents?: true
Size: 546 Bytes
Versions: 12
Compression:
Stored size: 546 Bytes
Contents
require 'spec_helper' describe Consul::Client::Base do before :all do # Create a temporary directory that will be cleaned up # dir = Dir.mktmpdir('consul-client4r-test', Dir.tmpdir) # @pid = Process.spawn("consul agent --server -data-dir=#{dir}") end after :all do # Detach process and then kill it. # Process.detach(@pid) # Process.kill(:SIGINT, @pid) end class BaseApiImpl include Consul::Client::Base end it 'should be reachable' do expect(BaseApiImpl.new.is_reachable).to eq(true) end end
Version data entries
12 entries across 12 versions & 1 rubygems