test/host_spec.rb in le-2.4.0 vs test/host_spec.rb in le-2.5.0
- old
+ new
@@ -4,10 +4,15 @@
let(:token) { '11111111-2222-3333-aaaa-bbbbbbbbbbbb' }
let(:local) { false }
let(:debug) { false }
let(:ssl) { false }
- let(:host) { Le::Host.new(token, local, debug, ssl) }
+ let(:datahub_endpoint) { ["", 10000] }
+ let(:host_id) { ""}
+ let(:custom_host) { [false, ""]}
+
+ #let(:host) { Le::Host.new(token, local, debug, ssl) }
+ let(:host) { Le::Host.new(token, local, debug, ssl, datahub_endpoint, host_id, custom_host)}
specify { host.must_be_instance_of Le::Host::HTTP }
end