Add some sort of with_keys
option to send_json
#1846
Labels
hacktoberfest
Valid Issue for Hacktoberfest
with_keys
option to send_json
#1846
I don't know exactly what this looks like yet, but I have a ton of really large custom JSON output in my actions that are too complex to say
response.should send_json(200, messages: [{.......}])
. Really I don't care that the value looks exactly a specific way, I just want to ensure that there is a value from that key. So really I want something kind of like..or maybe comparing a type somehow?
definitely a half-baked idea 😂
lucky/src/lucky/request_expectations.cr
Line 12 in 8eef897
The text was updated successfully, but these errors were encountered: