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