Commit 537816a
Use mock request object instead of real HTTPX::Request
The HTTPX::Request constructor requires 3-4 arguments, not 2. Instead of
figuring out the exact signature, use an RSpec instance_double to create
a minimal mock request object that satisfies the ErrorResponse constructor.
This fixes the test failure:
ArgumentError: wrong number of arguments (given 2, expected 3..4)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 6ebb06c commit 537816a
1 file changed
+4
-3
lines changedLines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
249 | | - | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
250 | 251 | | |
251 | | - | |
| 252 | + | |
252 | 253 | | |
253 | 254 | | |
254 | 255 | | |
| |||
0 commit comments