93266970477c9fdff01b03720e0929e514d6f489Tim Reddehaserequire 'spec_helper'
93266970477c9fdff01b03720e0929e514d6f489Tim Reddehase let(:ontology) { create :single_ontology, state: 'done' }
93266970477c9fdff01b03720e0929e514d6f489Tim Reddehase context 'with format json', api_specification: true do
93266970477c9fdff01b03720e0929e514d6f489Tim Reddehase let(:ontology_schema) { schema_for('ontology') }
93266970477c9fdff01b03720e0929e514d6f489Tim Reddehase expect(response.content_type.to_s).to eq('application/json')
93266970477c9fdff01b03720e0929e514d6f489Tim Reddehase it 'should return a representation that validates against the schema' do
93266970477c9fdff01b03720e0929e514d6f489Tim Reddehase VCR.use_cassette 'api/json-schemata/ontology' do