Skip to content

Commit 3ac7d41

Browse files
justin808claude
andcommitted
Remove invalid logger stub from mock options object
The HTTPX::Options class does not implement a method called 'logger'. RSpec's instance_double correctly rejects stubs for non-existent methods. This completes the minimal set of valid stubs needed for the test. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent bdde2ab commit 3ac7d41

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

react_on_rails_pro/spec/react_on_rails_pro/request_spec.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,7 @@
251251
HTTPX::Options,
252252
timeout: {},
253253
debug_level: 0,
254-
debug: false,
255-
logger: nil
254+
debug: false
256255
)
257256
mock_request = instance_double(
258257
HTTPX::Request,

0 commit comments

Comments
 (0)