Sha256: 2032a259347ec293830827d1e6c67f7e75c3946ee6cd3e687a214082e7092edf
Contents?: true
Size: 537 Bytes
Versions: 18
Compression:
Stored size: 537 Bytes
Contents
require 'spec_helper' describe GroupDocs::Api::Helpers::SignaturePublic do subject do GroupDocs::Signature::Envelope.new end describe '#client_id' do it 'returns "public" if true is passed' do subject.send(:client_id, true).should == 'public' end it 'returns "{{client_id}}" if false is passed' do subject.send(:client_id, false).should == '{{client_id}}' end it 'returns "{{client_id}}" if nil is passed' do subject.send(:client_id, false).should == '{{client_id}}' end end end
Version data entries
18 entries across 18 versions & 1 rubygems