Sha256: e115acd4197b45f78523a85f46f19f143429df270bab9e2114fa991ed160c12e
Contents?: true
Size: 1.17 KB
Versions: 2
Compression:
Stored size: 1.17 KB
Contents
require 'spec_helper' require 'pathname' logger = Le.new('185a71d5-32a7-4007-a12d-3295c75a10e2', 'eu') logger.info("ssl") describe Le::Host::HTTP do let(:token) { '11111111-2222-3333-aaaa-bbbbbbbbbbbb' } let(:region) {'eu'} let(:local) { false } let(:debug) { false } let(:ssl) { false } let(:udp) { nil } let(:datahub_endpoint) { ["", 10000]} let(:host_id) {""} let(:custom_host) {[false, ""]} let(:endpoint) {false} let(:host) { Le::Host::HTTP.new(token, region, local, debug, ssl, datahub_endpoint, host_id, custom_host, udp, endpoint) } let(:logger_console) { host.instance_variable_get(:@logger_console) } let(:logger_console_dev) { logger_console.instance_variable_get(:@logdev).dev } specify { host.must_be_instance_of Le::Host::HTTP } specify {host.region.must_equal 'eu'} specify { host.local.must_equal false } specify { host.debug.must_equal false } specify { host.ssl.must_equal false } specify { host.udp_port.must_equal nil } specify {host_id.must_equal ""} specify {custom_host.must_equal [false, ""]} end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
r7insight-2.7.6 | test/region.rb |
r7insight-2.7.5 | test/region.rb |