spec/kintone/command/bulk_request_spec.rb in kintone-0.1.2 vs spec/kintone/command/bulk_request_spec.rb in kintone-0.1.3

- old
+ new

@@ -11,10 +11,11 @@ stub_request( :post, 'https://example.cybozu.com/k/v1/bulkRequest.json' ) .with(body: { requests: requests }.to_json) - .to_return(body: { 'results' => results }.to_json, status: 200) + .to_return(body: { 'results' => results }.to_json, status: 200, + headers: { 'Content-type' => 'application/json' }) end subject { target.request(requests) } let(:requests) do