spec/timber/log_devices/http_spec.rb in timber-1.0.9 vs spec/timber/log_devices/http_spec.rb in timber-1.0.10
- old
+ new
@@ -85,9 +85,10 @@
it "should start a intervaled flush thread and flush on an interval" do
stub = stub_request(:post, "https://logs.timber.io/frames").
with(
:body => 'test log message',
:headers => {
+ 'Accept' => 'application/json',
'Authorization' => 'Basic TVlLRVk=',
'Content-Type' => 'application/x-timber-msgpack-frame-1',
'User-Agent' => "Timber Ruby Gem/#{Timber::VERSION}"
}
).
\ No newline at end of file