luckyframework / lucky

A full-featured Crystal web framework that catches bugs for you, runs incredibly fast, and helps you write code that lasts.
https://luckyframework.org
MIT License
2.57k stars 156 forks source link

send_json is broken on edge apps #1733

Closed jwoertink closed 1 year ago

jwoertink commented 1 year ago
Failures:

  1) Api::SignIns::Create returns an error if credentials are invalid
     Failure/Error: response.should send_json(

       JSON response was incorrect.

       Expected "param" to be:

         "password"

       Instead got:

         nil

     # spec/requests/api/sign_ins/create_spec.cr:20
jwoertink commented 1 year ago

This actually isn't the case. There was some other stuff going on causing this error.