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-ruby-sdk-3.2.1 spec/scenarios/uploads_spec.rb
hellosign-ruby-sdk-3.2.0 spec/scenarios/uploads_spec.rb
hellosign-ruby-sdk-3.1.0 spec/scenarios/uploads_spec.rb
hellosign-ruby-sdk-3.0.22 spec/scenarios/uploads_spec.rb
hellosign-ruby-sdk-3.0.21 spec/scenarios/uploads_spec.rb
hellosign-ruby-sdk-3.0.20 spec/scenarios/uploads_spec.rb
hellosign-ruby-sdk-3.0.19 spec/scenarios/uploads_spec.rb