test/support/restfully_accesible_stub.rb in yao-0.4.2 vs test/support/restfully_accesible_stub.rb in yao-0.4.3
- old
+ new
@@ -18,8 +18,8 @@
body: "itemNotFound"
)
end
def request_headers
- {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Faraday v0.12.2'}
+ {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>"Faraday v#{Faraday::VERSION}"}
end
end