Sha256: b506ebc6f5a895a28f7b05b127fc4cbf412b0c22e53eea5da4a81619bccf47a4

Contents?: true

Size: 669 Bytes

Versions: 2

Compression:

Stored size: 669 Bytes

Contents

require 'spec_helper'
require 'pathname'

describe Le::Host::HTTP do

  let(:token)              { '11111111-2222-3333-aaaa-bbbbbbbbbbbb' }
  let(:local)              { false }
  let(:debug)              { false }
  let(:ssl)                { false }
  let(:host)               { Le::Host::HTTP.new(token, local, debug, ssl) }
  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.local.must_equal false }
  specify { host.debug.must_equal false }
  specify { host.ssl.must_equal false }

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
le-2.4.0 test/http_spec.rb
le-2.3.9 test/http_spec.rb