test/host_spec.rb in le-2.7.1 vs test/host_spec.rb in le-2.7.2
- old
+ new
@@ -4,17 +4,18 @@
let(:token) { '11111111-2222-3333-aaaa-bbbbbbbbbbbb' }
let(:local) { false }
let(:debug) { false }
let(:ssl) { true }
- let(:udp_port){ nil }
+ let(:udp) { 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, udp_port)}
+ let(:host) { Le::Host::HTTP.new(token, local, debug, ssl, datahub_endpoint, host_id, custom_host, udp, data_endpoint) }
specify { host.must_be_instance_of Le::Host::HTTP }
end