Commit 7bb0eb1
Add options stub to mock request object
The HTTPX::ErrorResponse constructor also calls request.options during
initialization. Add this stub using instance_double to satisfy RuboCop's
VerifiedDoubles cop and prevent the test from failing with:
received unexpected message :options with (no args)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent cf5a797 commit 7bb0eb1
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
251 | 257 | | |
252 | 258 | | |
253 | 259 | | |
| |||
0 commit comments