Sha256: 50a11f24160cb6796aea45dbf16341f59aaeb3f63bc452afdf9034e467f704f5

Contents?: true

Size: 268 Bytes

Versions: 3

Compression:

Stored size: 268 Bytes

Contents

require 'spec_helper'

describe MakePrintable::Client do
  describe '#initialize' do

    it 'should inherit configuration block and set it to client object' do
      client = MakePrintable::Client.new
      expect(client.api_key).to eq '123apikey'
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
makeprintable-1.0.2 spec/client_spec.rb
makeprintable-1.0.1 spec/client_spec.rb
makeprintable-1.0.0 spec/client_spec.rb