# File tests/drivers/mock/instance_states_test.rb, line 37 def test_each_state_has_transition get_auth_url '/api/instance_states', {} (last_xml_response/'states/state').each do |state| next if state['name'].eql?('finish') # Finnish state doesn't have transitions (state/'transition').length.should > 0 (state/'transition').each do |transition| transition['to'].should_not == nil end end end