Lines Matching refs:state

87       context 'try again re-checks up-state' do
137 let!(:hets_instance) { create :hets_instance, state: 'free' }
153 expect(chosen.state).to eq('free')
159 let!(:free) { create :hets_instance, state: 'free' }
160 let!(:force_free) { create :hets_instance, state: 'force-free' }
161 let!(:busy) { create :hets_instance, state: 'busy' }
179 expect(instance.state).to eq('busy')
202 expect(instance.state).to eq('free')
213 expect(instance.state).to eq('busy')
220 expect(chosen.state).to eq('free')
225 let!(:force_free0) { create :hets_instance, state: 'force-free', queue_size: 0 }
226 let!(:force_free1) { create :hets_instance, state: 'force-free', queue_size: 1 }
227 let!(:busy) { create :hets_instance, state: 'busy' }
241 expect(instance.state).to eq('busy')
264 expect(instance.state).to eq('free')
275 expect(instance.state).to eq('busy')
282 expect(chosen.state).to eq('free')
287 let!(:busy0) { create :hets_instance, state: 'busy', queue_size: 0 }
288 let!(:busy1) { create :hets_instance, state: 'busy', queue_size: 1 }
302 expect(instance.state).to eq('busy')
325 expect(instance.state).to eq('free')
336 expect(instance.state).to eq('busy')
343 expect(chosen.state).to eq('free')
348 let!(:busy0) { create :hets_instance, state: 'busy', queue_size: 1 }
349 let!(:busy1) { create :hets_instance, state: 'busy', queue_size: 2 }
363 expect(instance.state).to eq('busy')
386 expect(instance.state).to eq('busy')
397 expect(instance.state).to eq('busy')
404 expect(chosen.state).to eq('busy')
417 let!(:hets_instance) { create :hets_instance, state: 'free' }
433 let!(:hets_instance) { create :hets_instance, state: 'free' }
437 expect(hets_instance.state).to eq('free')
442 let!(:hets_instance) { create :hets_instance, state: 'force-free' }
446 expect(hets_instance.state).to eq('force-free')
451 let!(:hets_instance) { create :hets_instance, state: 'busy' }
454 it 'change the state' do
455 expect(hets_instance.state).to eq('force-free')
470 it 'should have a up-state of true' do
494 it 'should have a up-state of false' do