test/fastly/client_test.rb in fastly-2.5.0 vs test/fastly/client_test.rb in fastly-2.5.1
- old
+ new
@@ -105,10 +105,10 @@
'Accept'=>'*/*',
'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',
'Content-Accept'=>'application/json',
'Content-Type'=>'application/x-www-form-urlencoded',
#'Fastly-Key'=>'notasecreteither',
- 'User-Agent'=>'fastly-ruby-v2.4.0'
+ 'User-Agent'=> /fastly-ruby/
}).
to_return(body: JSON.generate(i: "dont care"), status: 200)
resp = client.post(
'/service/blah',