spec/groupdocs/signature_spec.rb in groupdocs-1.5.5 vs spec/groupdocs/signature_spec.rb in groupdocs-1.5.6

- old
+ new

@@ -189,6 +189,19 @@ lambda do subject.initials_data! end.should change(subject, :initials_data) end end + + describe '#sign_document_status!' do + before(:each) do + mock_api_server(load_json('sign_documents')) + end + + it 'accepts access credentials hash' do + lambda do + subject.initials_data!(:client_id => 'client_id', :private_key => 'private_key') + end.should_not raise_error(ArgumentError) + end + end + end