test/host_spec.rb in le-2.7.0 vs test/host_spec.rb in le-2.7.1
- old
+ new
@@ -3,17 +3,18 @@
describe Le::Host do
let(:token) { '11111111-2222-3333-aaaa-bbbbbbbbbbbb' }
let(:local) { false }
let(:debug) { false }
- let(:ssl) { false }
+ let(:ssl) { true }
let(:udp_port){ nil }
let(:datahub_endpoint) { ["", 10000] }
let(:host_id) { ""}
let(:custom_host) { [false, ""]}
+ let(:data_endpoint) {true}
#let(:host) { Le::Host.new(token, local, debug, ssl) }
- let(:host) { Le::Host.new(token, local, debug, ssl, datahub_endpoint, host_id, custom_host, udp_port)}
+ let(:host) { Le::Host.new(token, local, debug, ssl, udp_port)}
specify { host.must_be_instance_of Le::Host::HTTP }
end