As far as I looked into it, sample tests (especially system tests) for testing BASIC/Digest/Token authentications are missing in Testing Guides, except the following fragmented sample:
post articles_url, params: { article: { body: "Rails is awesome!", title: "Hello Rails" } }, headers: { Authorization: ActionController::HttpAuthentication::Basic.encode_credentials("dhh", "secret") }
I believe such sample tests are still needed, especially for educational usages. Don’t you have any plans to add such sample tests to Testing Guides?