spec/timber/log_devices/http_spec.rb in timber-1.1.13 vs spec/timber/log_devices/http_spec.rb in timber-1.1.14
- old
+ new
@@ -98,10 +98,9 @@
it "should start a intervaled flush thread and flush on an interval" do
stub = stub_request(:post, "https://logs.timber.io/frames").
with(
:body => start_with("\x92\x85\xA5level\xA4INFO\xA2dt\xBB2016-09-01T12:00:00.000000Z\xA7message\xB2test log message 1\xA7context\x81\xA6system".force_encoding("ASCII-8BIT")),
:headers => {
- 'Accept' => 'application/json',
'Authorization' => 'Basic TVlLRVk=',
'Content-Type' => 'application/msgpack',
'User-Agent' => "Timber Ruby/#{Timber::VERSION} (HTTP)"
}
).
\ No newline at end of file