Sha256: 8cdf16a903bfc9c0957c6666336b4c6c76f9500e5b72561cb1b97529743d6791

Contents?: true

Size: 358 Bytes

Versions: 2

Compression:

Stored size: 358 Bytes

Contents

require 'spec_helper'
require 'typekit'

describe Typekit::Connection::Request do
  subject { Typekit::Connection::Request.new(action: :show) }

  describe '#address' do
    it 'assembles the address' do
      [ :kits, 'xxx', :families, 'yyy' ].each { |chunk| subject << chunk }
      expect(subject.address).to eq('kits/xxx/families/yyy')
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
typekit-client-0.0.3 spec/typekit/connection/request_spec.rb
typekit-client-0.0.2 spec/typekit/connection/request_spec.rb