spec/flipper/adapters/http_spec.rb in flipper-0.11.0.beta1 vs spec/flipper/adapters/http_spec.rb in flipper-0.11.0.beta3

- old
+ new

@@ -58,10 +58,10 @@ it "sends default headers" do headers = { 'Accept' => 'application/json', 'Content-Type' => 'application/json', - 'User-Agent' => 'Flipper HTTP Adapter v0.10.2', + 'User-Agent' => "Flipper HTTP Adapter v#{Flipper::VERSION}", } stub_request(:get, "http://app.com/flipper/features/feature_panel") .with(headers: headers) .to_return(status: 404, body: "", headers: {})