sentences_controller_spec.rb revision 3da7bc412bbfe11a5fec5a93e938c7f9369dfd51
26c33d9562fa0e87aaecf2976da51d771d2b4cd0JazzyNicorequire 'spec_helper'
26c33d9562fa0e87aaecf2976da51d771d2b4cd0JazzyNico context 'requesting json representation', api_specification: true do
26c33d9562fa0e87aaecf2976da51d771d2b4cd0JazzyNico expect(response.content_type.to_s).to eq('application/json')
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico it 'should return a representation that validates against the schema' do
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico VCR.use_cassette 'api/json-schemata/ontology/sentences' do
26c33d9562fa0e87aaecf2976da51d771d2b4cd0JazzyNico context 'requesting json representation', api_specification: true do
26c33d9562fa0e87aaecf2976da51d771d2b4cd0JazzyNico expect(response.content_type.to_s).to eq('application/json')
26c33d9562fa0e87aaecf2976da51d771d2b4cd0JazzyNico it 'should return a representation that validates against the schema' do