Skip to content

Inspect body in ConnTest.response/2 - #3267

Merged
chrismccord merged 1 commit into
phoenixframework:masterfrom
qcam:cam/response
Feb 15, 2019
Merged

chrismccord merged 1 commit into
phoenixframework:masterfrom
qcam:cam/response

Conversation

@qcam

@qcam qcam commented Feb 5, 2019 •

Copy link
Copy Markdown
Contributor

I would like to propose to print body in ConnTest.response/2 in inspect format.

I think this would be useful and would avoid the test case from crashing when the response body is not printable.

@ggVGc

ggVGc commented Feb 15, 2019

Copy link
Copy Markdown

This seems like a very obvious improvement to me.

@chrismccord
chrismccord merged commit 13111ad into phoenixframework:master Feb 15, 2019
@chrismccord

Copy link
Copy Markdown
Member

❤️❤️❤️🐥🔥

@qcam
qcam deleted the cam/response branch February 15, 2019 15:59
Xiaobin0860 added a commit to Xiaobin0860/phoenix that referenced this pull request Feb 16, 2019
* phx/master: (26 commits)
  Support any struct with :endpoint key in helpers
  Inspect body in ConnTest.response/2 (phoenixframework#3267)
  update snippet to agree with latest phx.new (phoenixframework#3277)
  Only enable trim for HTML templates
  Revert reconnect optimizations which introduced regressions. Fixes phoenixframework#3161 (phoenixframework#3272)
  Reword sentence in Controllers guide (phoenixframework#3270)
  update documentation to reflect on function deprecations (phoenixframework#3269)
  Fix warning in presence
  Default log for render errors info should be debug
  Add jason to umbrella ecto deps. Fixes phoenixframework#3263
  Add Elixir Slack community in the help column of the initial default page (phoenixframework#3262)
  Update heroku.md (phoenixframework#3241)
  add JavaPhoenixClient in 3rd party channels client libraries list (phoenixframework#3256)
  fix typespec for put_layout (phoenixframework#3253)
  Add version to umbrellas (mirror Elixir master)
  Fix references in guides (phoenixframework#3251)
  Add $PORT bind step in Heroku deployment guide (phoenixframework#3235)
  update link to mime  types (phoenixframework#3249)
  Add Elixir 1.7 and 1.8 to Travis CI build matrix (phoenixframework#3248)
  Update learning.md (phoenixframework#3247)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants