Lines Matching refs:state
26 context 'when the state is processing' do
34 it 'will set the state of the ontology version to failed' do
35 expect(ontology_version.state).to eq('failed')
42 it 'will set the state of the ontology to failed' do
43 expect(ontology.state).to eq('failed')
49 let(:ontology_version) { create :ontology_version, state: 'done' }
51 it 'will not touch the state of the ontology_version' do
53 to_not change(ontology_version, :state)
56 it 'will not touch the state of the ontology' do
58 to_not change(ontology, :state)
64 let(:ontology_version) { create :ontology_version, state: 'failed' }
66 it 'will not touch the state of the ontology_version' do
68 to_not change(ontology_version, :state)
71 it 'will not touch the state of the ontology' do
73 to_not change(ontology, :state)