mirror of
https://github.com/lostisland/faraday.git
synced 2025-11-03 00:07:36 -05:00
fix typo
This commit is contained in:
parent
9a8649b6d6
commit
43c3284927
@ -30,7 +30,7 @@ This mess is gonna get raw, like sushi. So, haters to the left.
|
|||||||
|
|
||||||
# It's possible to define stubbed request outside a test adapter block.
|
# It's possible to define stubbed request outside a test adapter block.
|
||||||
stubs = Faraday::Test::Stubs.new do |stub|
|
stubs = Faraday::Test::Stubs.new do |stub|
|
||||||
stub.get('/tamago') { [200, {}, 'egg' }
|
stub.get('/tamago') { [200, {}, 'egg'] }
|
||||||
end
|
end
|
||||||
|
|
||||||
# You can pass stubbed request to the test adapter or define them in a block
|
# You can pass stubbed request to the test adapter or define them in a block
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user