spec/groupdocs/signature/envelope_spec.rb in groupdocs-1.2.3 vs spec/groupdocs/signature/envelope_spec.rb in groupdocs-1.2.6

- old
+ new

@@ -255,11 +255,15 @@ mock_api_server('{ "status": "Ok", "result": {}}') end it 'accepts access credentials hash' do lambda do - subject.send!(client_id: 'client_id', private_key: 'private_key') + subject.send!(nil, client_id: 'client_id', private_key: 'private_key') end.should_not raise_error(ArgumentError) + end + + it 'accepts webhook callback URL and sends it as plain text' do + subject.send! 'http://mywebsite.com' end end describe '#archive!' do before(:each) do