spec/kintone/command/space_thread_spec.rb in kintone-0.1.2 vs spec/kintone/command/space_thread_spec.rb in kintone-0.1.3
- old
+ new
@@ -11,10 +11,11 @@
stub_request(
:put,
'https://example.cybozu.com/k/v1/space/thread.json'
)
.with(body: request_body)
- .to_return(body: '{}', status: 200)
+ .to_return(body: '{}', status: 200,
+ headers: { 'Content-type' => 'application/json' })
end
subject { target.update(id, name: name, body: body) }
let(:id) { 1 }