mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-07 00:11:11 -04:00
Fix class name for Stubs in README.
This commit is contained in:
parent
97bc3bc736
commit
2f3ecbe3f0
@ -32,7 +32,7 @@ This mess is gonna get raw, like sushi. So, haters to the left.
|
||||
## Testing
|
||||
|
||||
# It's possible to define stubbed request outside a test adapter block.
|
||||
stubs = Faraday::Test::Stubs.new do |stub|
|
||||
stubs = Faraday::Adapter::Test::Stubs.new do |stub|
|
||||
stub.get('/tamago') { [200, {}, 'egg'] }
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user