saucelabs / sauce_whisk

ActiveRecord style client for the Sauce Labs RESTful API
https://opensource.saucelabs.com/sauce_whisk/
MIT License
20 stars 17 forks source link

Patch job attribute custom_data to send custom-data over the wire #49

Closed pythe closed 8 years ago

pythe commented 9 years ago

Problem isolated while pairing with Jeff Schomayjschomay@gmail.com

Jeff and I found that Whisk is unable to set the custom_data attribute on Jobs. The Sauce REST API accepts the field custom-data, but Whisk was sending custom_data. So, we've added a test and a proposed fix.

Relevant API Docs: https://docs.saucelabs.com/reference/rest-api/#update-job

DylanLacey commented 8 years ago

Thanks! I really appreciate adding a test ^_^. I'll release a new version later today.