Sha256: cc07a39fc271db1ef0507b228a38fc9943a0d05d69176b523f0588b6a1cce7f1

Contents?: true

Size: 387 Bytes

Versions: 4

Compression:

Stored size: 387 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe Sinclair::Options do
  describe 'yard' do
    it 'creates options object' do
      options = ConnectionOptions.new(retries: 10, port: 8080)

      expect(options.timeout).to be_nil
      expect(options.retries).to eq(10)
      expect(options.port).to eq(8080)
      expect(options.protocol).to eq('https')
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sinclair-1.6.4 spec/integration/yard/sinclair/options_spec.rb
sinclair-1.6.3 spec/integration/yard/sinclair/options_spec.rb
sinclair-1.6.2 spec/integration/yard/sinclair/options_spec.rb
sinclair-1.6.1 spec/integration/yard/sinclair/options_spec.rb