Sha256: 204ced7658ab130f1f033b0d06b4aaba1a6a9f43362d471a347f56c03f6ec449

Contents?: true

Size: 576 Bytes

Versions: 47

Compression:

Stored size: 576 Bytes

Contents

require 'spec_helper'

describe 'Uploading File' do
  describe 'Create Embedded Signature Request' do
    before { stub_post('/signature_request/create_embedded', 'signature_request') }

    it 'works with simple pdf' do
      expect(HelloSign.create_embedded_signature_request({files: ['spec/fixtures/nda.pdf']}))
    end
  end

  describe 'Create Unclaimed Draft' do
    before { stub_post('/unclaimed_draft/create', 'unclaimed_draft') }

    it 'works with simple pdf' do
      expect(HelloSign.create_unclaimed_draft({files: ['spec/fixtures/nda.pdf']}))
    end
  end
end

Version data entries

47 entries across 47 versions & 2 rubygems

Version Path
hellosign-api-1.0.7 spec/scenarios/uploads_spec.rb
hellosign-api-1.0.6 spec/scenarios/uploads_spec.rb
hellosign-api-1.0.5 spec/scenarios/uploads_spec.rb
hellosign-api-1.0.4 spec/scenarios/uploads_spec.rb
hellosign-api-1.0.3 spec/scenarios/uploads_spec.rb
hellosign-api-1.0.2 spec/scenarios/uploads_spec.rb
hellosign-api-1.0.1 spec/scenarios/uploads_spec.rb
hellosign-api-1.0.0 spec/scenarios/uploads_spec.rb
hellosign-ruby-sdk-3.7.7 spec/scenarios/uploads_spec.rb
hellosign-ruby-sdk-3.7.6 spec/scenarios/uploads_spec.rb
hellosign-ruby-sdk-3.7.5 spec/scenarios/uploads_spec.rb
hellosign-ruby-sdk-3.7.4 spec/scenarios/uploads_spec.rb
hellosign-ruby-sdk-3.7.3 spec/scenarios/uploads_spec.rb
hellosign-ruby-sdk-3.7.2 spec/scenarios/uploads_spec.rb
hellosign-ruby-sdk-3.7.1 spec/scenarios/uploads_spec.rb
hellosign-ruby-sdk-3.7.0 spec/scenarios/uploads_spec.rb
hellosign-ruby-sdk-3.6.4 spec/scenarios/uploads_spec.rb
hellosign-ruby-sdk-3.6.3 spec/scenarios/uploads_spec.rb
hellosign-ruby-sdk-3.6.2 spec/scenarios/uploads_spec.rb
hellosign-ruby-sdk-3.6.1 spec/scenarios/uploads_spec.rb