We had been (since the beginning) disabling webmock in this test (which means vcr was _not_ intercepting requests and we were making them live). This appears to have been a work-around for an issue where the captured URL in the cassette pointed to cloudinary, while the code was fetching from the source directly, and an unhandled request error was raised when running the spec. However, the upstream source (https://via.placeholder.com/350x150) activated cloudflare bot detection, and rather than a png image response, we were getting an unprocessable html gateway page "Checking your browser..." from cloudflare, and the test was failing. Point the vcr cassette at the same url the test checks, and remove the local webmock disable. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| initializers | ||
| seeds | ||
| shared_examples | ||
| omniauth_helpers.rb | ||
| rpush_helpers.rb | ||
| runkit_tag_context.rb | ||
| shared_context.rb | ||
| sidekiq_test_helpers.rb | ||
| within_block_is_expected.rb | ||