jondkinney/docusign_rest

API Errors with create_template and create_envelope_from_template

Closed this issue · 3 comments

When running the test suite I'm finding the setup code calling 'create_template' is returning an API error:

{ "errorCode": "UNSPECIFIED_ERROR", "message": "The header name format is invalid." }

Wondering if anyone else has experienced this issue and how they fixed it?

@wintondeshong I'm guessing you got this sorted out since you submitted the other pull request?

Actually @J2Fly, I ended up using a series of integration tests in another project (using rails) to properly verify that pull request. I'm personally not leveraging the 'create_template' routine, which is failing in the test setup, so I was able to adequately test this in my project and verify this works. If I can get the test suite for docusign_rest gem working I'd like to add tests around the new feature I've requested be pulled.

All the tests are currently passing on master. However, some tests are definitely missing. I'm planning on adding a real rails application to the gem and using the gem in that rails app to do some real integration testing against the docusign rest API. Thanks for your contributions @wintondeshong!!