Sha256: c28fe23e09de2bdc29d6fa389f079b254a610562f2eb104049ecc2ac767a4ea4
Contents?: true
Size: 371 Bytes
Versions: 22
Compression:
Stored size: 371 Bytes
Contents
require 'spec_helper' describe 'multi-word API resource' do it 'succeeds creating a new object using a resource that consists of multiple words' do post '/api/v1/multi_word_resources', test_model: { test: true } expect(last_response.status).to eq(201) json = JSON.parse(last_response.body) expect(json['test_model']['created']).to eq(true) end end
Version data entries
22 entries across 22 versions & 1 rubygems