Lines Matching refs:status
33 context '#status' do
35 let(:status) { 'some status' }
38 let(:resource) { mock_model('Resource', state: status) }
40 it 'should return the correct status' do
41 expect(action.status).to eq(status)
45 context 'on resource with status' do
46 let(:resource) { mock_model('Resource', status: status) }
48 it 'should return the correct status' do
49 expect(action.status).to eq(status)
57 expect { action.status }.to raise_error(NoMethodError)
63 let(:status) { 'waiting' }
65 it 'should return the correct status' do
66 expect(action.status).to eq(status)