79756582

Date: 2025-09-05 09:03:29
Score: 0.5
Natty:
Report link

Here is the alternative way from rails test doc https://guides.rubyonrails.org/testing.html

post articles_url, params: { article: { body: "Rails is awesome!", title: "Hello Rails" } }, headers: { Authorization: ActionController::HttpAuthentication::Basic.encode_credentials(@user.email_address, "password") }

Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: akbarbin