Sha256: ea5c2d5c2b803b1fd2f7e48ccc0752e3e5177524281b789c6d26e9ea476389e1
Contents?: true
Size: 688 Bytes
Versions: 16
Compression:
Stored size: 688 Bytes
Contents
require 'spec_helper' describe HelloSign::Api::Embedded do describe '#get_embedded_sign_url' do let(:signature_id) { '50e3542f738adfa7ddd4cbd4c00d2a8ab6e4194b' } before do stub_get("/embedded/sign_url/#{signature_id}", 'embedded') @embedded = HelloSign.get_embedded_sign_url :signature_id => signature_id end it 'should get the correct resource' do expect(a_get("/embedded/sign_url/#{signature_id}")).to have_been_made end it 'should return response headers' do expect(@embedded.headers).to_not be_nil end it 'should return a UnclaimedDraft' do expect(@embedded).to be_an HelloSign::Resource::Embedded end end end
Version data entries
16 entries across 16 versions & 2 rubygems