spec/hello_sign/api/embedded_spec.rb in hellosign-ruby-sdk-3.0.3 vs spec/hello_sign/api/embedded_spec.rb in hellosign-ruby-sdk-3.0.4

- old
+ new

@@ -1,19 +1,19 @@ require 'spec_helper' describe HelloSign::Api::Embedded do - describe "#get_embedded_sign_url" do - let(:signature_id){'50e3542f738adfa7ddd4cbd4c00d2a8ab6e4194b'} + 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 + it 'should get the correct resource' do expect(a_get("/embedded/sign_url/#{signature_id}")).to have_been_made end - it "should return a UnclaimedDraft" do + it 'should return a UnclaimedDraft' do expect(@embedded).to be_an HelloSign::Resource::Embedded end end end