Sha256: e4c31ad4a836d7c012a1792315e81aca6159695e309727e13e447f86323c6c74
Contents?: true
Size: 737 Bytes
Versions: 5
Compression:
Stored size: 737 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe R7Insight::Host do let(:token) { '11111111-2222-3333-aaaa-bbbbbbbbbbbb' } let(:region) { 'eu' } let(:local) { false } let(:debug) { false } let(:ssl) { true } let(:udp) { nil } let(:datahub_endpoint) { ['', 10_000] } let(:host_id) { '' } let(:custom_host) { [false, ''] } let(:use_data_endpoint) { true } let(:host) do R7Insight::Host::CONNECTION.new(token, region, local, debug, ssl, datahub_endpoint, host_id, custom_host, udp, use_data_endpoint) end describe 'host' do it 'is an instance of CONNECTION' do assert_instance_of(R7Insight::Host::CONNECTION, host) end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
r7insight-3.0.4 | test/host_spec.rb |
r7insight-3.0.3 | test/host_spec.rb |
r7insight-3.0.2 | test/host_spec.rb |
r7insight-3.0.1 | test/host_spec.rb |
r7insight-3.0.0 | test/host_spec.rb |