6436a931b73290f673566ca4d6e16705770cf348Eugen Kuksarequire 'spec_helper'
6436a931b73290f673566ca4d6e16705770cf348Eugen Kuksadescribe Api::V1::ProofAttemptConfigurationsController do
6436a931b73290f673566ca4d6e16705770cf348Eugen Kuksa let(:pa_configuration) { proof_attempt.proof_attempt_configuration }
6038b00107b7bc45a596b94529bfb544a3ed6a65Eugen Kuksa let(:repository) { theorem.ontology.repository }
6436a931b73290f673566ca4d6e16705770cf348Eugen Kuksa context 'requesting json representation', api_specification: true do
d327eb79653cf7820fe583473ab35816d44cd757Eugen Kuksa :'proof-attempt-configuration', :selected_axioms]),
6436a931b73290f673566ca4d6e16705770cf348Eugen Kuksa expect(response.content_type.to_s).to eq('application/json')
6436a931b73290f673566ca4d6e16705770cf348Eugen Kuksa context 'requesting json representation', api_specification: true do
d327eb79653cf7820fe583473ab35816d44cd757Eugen Kuksa :'proof-attempt-configuration', :selected_theorems]),
6436a931b73290f673566ca4d6e16705770cf348Eugen Kuksa expect(response.content_type.to_s).to eq('application/json')
6436a931b73290f673566ca4d6e16705770cf348Eugen Kuksa context 'requesting json representation', api_specification: true do
d327eb79653cf7820fe583473ab35816d44cd757Eugen Kuksa locid: url_for([proof_attempt, :'proof-attempt-configuration']),
6436a931b73290f673566ca4d6e16705770cf348Eugen Kuksa expect(response.content_type.to_s).to eq('application/json')
6436a931b73290f673566ca4d6e16705770cf348Eugen Kuksa it 'should return a representation that validates against the schema' do
6436a931b73290f673566ca4d6e16705770cf348Eugen Kuksa VCR.use_cassette 'api/json-schemata/ontology/proof_attempt_configuration' do