spec/groupdocs/signature/template_spec.rb in groupdocs-1.9.0 vs spec/groupdocs/signature/template_spec.rb in groupdocs-2.0.0

- old
+ new

@@ -16,15 +16,15 @@ end it 'accepts access credentials hash' do lambda do described_class.all!({}, :client_id => 'client_id', :private_key => 'private_key') - end.should_not raise_error(ArgumentError) + end.should_not raise_error() end it 'allows passing options' do - lambda { described_class.all!(:page => 1, :count => 3) }.should_not raise_error(ArgumentError) + lambda { described_class.all!(:page => 1, :count => 3) }.should_not raise_error() end it 'returns array of GroupDocs::Signature::Template objects' do templates = described_class.all! templates.should be_an(Array) @@ -48,11 +48,11 @@ end it 'accepts access credentials hash' do lambda do subject.add_recipient!(recipient, :client_id => 'client_id', :private_key => 'private_key') - end.should_not raise_error(ArgumentError) + end.should_not raise_error() end it 'raises error if recipient is not GroupDocs::Signature::Recipient object' do lambda { subject.add_recipient!('Recipient') }.should raise_error(ArgumentError) end @@ -68,10 +68,10 @@ end it 'accepts access credentials hash' do lambda do subject.modify_recipient!(recipient, :client_id => 'client_id', :private_key => 'private_key') - end.should_not raise_error(ArgumentError) + end.should_not raise_error() end it 'raises error if recipient is not GroupDocs::Signature::Recipient object' do lambda { subject.modify_recipient!('Recipient') }.should raise_error(ArgumentError) end