Shopify / shipit-engine

Deployment coordination
https://shopify.engineering/introducing-shipit
MIT License
1.42k stars 144 forks source link

Improve API tests #1283

Closed casperisfine closed 2 years ago

casperisfine commented 2 years ago

We need to pass as: :json otherwise AC::TestCase will simulate www-form-encoded payloads, which don't support boolean and other rich JSON types.

That bing said, this change still isn't quite representative of what happens in production, but it should be good enough.

FYI @mikailkarimi