spec/flipper/cloud/telemetry_spec.rb in flipper-1.1.2 vs spec/flipper/cloud/telemetry_spec.rb in flipper-1.2.0
- old
+ new
@@ -2,10 +2,10 @@
require 'flipper/cloud/configuration'
RSpec.describe Flipper::Cloud::Telemetry do
it "phones home and does not update telemetry interval if missing" do
stub = stub_request(:post, "https://www.flippercloud.io/adapter/telemetry").
- to_return(status: 200, body: "{}", headers: {})
+ to_return(status: 200, body: "{}")
cloud_configuration = Flipper::Cloud::Configuration.new(token: "test")
# Record some telemetry and stop the threads so we submit a response.
telemetry = described_class.new(cloud_configuration)