This commit is contained in:
rick 2010-04-11 15:52:42 -07:00
parent 9a8649b6d6
commit 43c3284927

View File

@ -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.
stubs = Faraday::Test::Stubs.new do |stub|
stub.get('/tamago') { [200, {}, 'egg' }
stub.get('/tamago') { [200, {}, 'egg'] }
end
# You can pass stubbed request to the test adapter or define them in a block