Sha256: 3be269e76b7aeb8d4579e2d3aeb81b1bcdd3c7a6b38b6f504de875f3a9a4641f
Contents?: true
Size: 1.21 KB
Versions: 2
Compression:
Stored size: 1.21 KB
Contents
require 'spec_helper' describe GroupDocs::Signature::Recipient do it_behaves_like GroupDocs::Api::Entity it { should respond_to(:id) } it { should respond_to(:id=) } it { should respond_to(:email) } it { should respond_to(:email=) } it { should respond_to(:firstName) } it { should respond_to(:firstName=) } it { should respond_to(:lastName) } it { should respond_to(:lastName=) } it { should respond_to(:nickname) } it { should respond_to(:nickname=) } it { should respond_to(:roleId) } it { should respond_to(:roleId=) } it { should respond_to(:order) } it { should respond_to(:order=) } it { should respond_to(:status) } it { should respond_to(:status=) } it { should have_alias(:first_name, :firstName) } it { should have_alias(:first_name=, :firstName=) } it { should have_alias(:last_name, :lastName) } it { should have_alias(:last_name=, :lastName=) } it { should have_alias(:role_id, :roleId) } it { should have_alias(:role_id=, :roleId=) } describe '#status' do it 'converts status to human-readable format' do subject.status = 1 subject.status.should == :notified end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
groupdocs-1.1.0 | spec/groupdocs/signature/recipient_spec.rb |
groupdocs-1.0.0 | spec/groupdocs/signature/recipient_spec.rb |