spec/groupdocs/signature/template_spec.rb in groupdocs-1.1.0 vs spec/groupdocs/signature/template_spec.rb in groupdocs-1.2.0
- old
+ new
@@ -32,14 +32,12 @@
template.should be_a(GroupDocs::Signature::Template)
end
end
end
- it { should respond_to(:templateExpireTime) }
- it { should respond_to(:templateExpireTime=) }
+ it { should have_accessor(:templateExpireTime) }
- it { should have_alias(:template_expire_time, :templateExpireTime) }
- it { should have_alias(:template_expire_time=, :templateExpireTime=) }
+ it { should alias_accessor(:template_expire_time, :templateExpireTime) }
describe '#add_recipient!' do
let(:recipient) do
GroupDocs::Signature::Recipient.new
end