spec/support/fake_veeqo_api.rb in veeqo-0.1.0 vs spec/support/fake_veeqo_api.rb in veeqo-0.1.1
- old
+ new
@@ -390,10 +390,13 @@
end
end
end
def api_key_header
- { "x-api-key" => Veeqo.configuration.api_key }
+ {
+ "content-type" => "application/json",
+ "x-api-key" => Veeqo.configuration.api_key,
+ }
end
def response_with(filename:, status:)
{ body: veeqo_fixture(filename), status: status }
end