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

- old
+ new

@@ -13,10 +13,11 @@ before(:each) do stub_request( :get, 'https://example.cybozu.com/k/v1/form.json?app=4' ) - .to_return(body: "{\"result\":\"ok\"}", status: 200) + .to_return(body: "{\"result\":\"ok\"}", status: 200, + headers: { 'Content-type' => 'application/json' }) end let(:app) { 4 } it { expect(subject).to eq 'result' => 'ok' }