From 10821ae5c9c2a8aaeebcf9d1819083b48701ccd1 Mon Sep 17 00:00:00 2001 From: PriestJ Date: Mon, 17 Mar 2008 16:09:33 +0000 Subject: [PATCH] altered qmax reference and existing converter so they match the data_item_roles.xls sheet git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4030 248e525c-4dfb-0310-94bc-949c084e9493 --- tests/enquirytests.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/enquirytests.rb b/tests/enquirytests.rb index 8f0f937..f700b2c 100644 --- a/tests/enquirytests.rb +++ b/tests/enquirytests.rb @@ -98,7 +98,7 @@ class Test_02_enquiry < Test::Unit::TestCase assert(@@ie.select_list(:id,'P32_LOAD_CONTROL_TYPE').exists?,'Could not find P32_LOAD_CONTROL_TYPE select list') assert(@@ie.select_list(:id,'P32_TWIN_STREAM_REQUIRED').exists?,'Could not find P32_TWIN_STREAM_REQUIRED select list') assert(@@ie.text_field(:id,'P32_JOB_DESCRIPTION').exists?,'Could not find P32_JOB_DESCRIPTION field') - assert(@@ie.text_field(:id,'P32_QMAX').exists?,'Could not find P32_QMAX field') + assert_equal(false,@@ie.text_field(:id,'P32_QMAX').exists?,'found P32_QMAX field') assert(@@ie.text_field(:id,'P32_QMIN').exists?,'Could not find P32_QMIN field') assert(@@ie.select_list(:id,'P32_METER_SIZE').exists?,'Could not find P32_METER_SIZE select list') assert(@@ie.select_list(:id,'P32_EXISTING_METY_CODE').exists?,'Could not find P32_METY_CODE select list') @@ -289,7 +289,7 @@ class Test_02_enquiry < Test::Unit::TestCase assert(@@ie.text_field(:id,'P32_OTHER_PROJECT_REFERENCE').exists?,'Could not find P32_OTHER_PROJECT_REFERENCE field') assert_equal(false,@@ie.select_list(:id,'P32_HOUSING_REQUIRED').exists?,'Found P32_HOUSING_REQUIRED select list') assert_equal(false,@@ie.select_list(:id,'P32_BASE_REQUIRED').exists?,'Found P32_BASE_REQUIRED select list') - assert_equal(false,@@ie.select_list(:id,'P32_CONVERTOR_REQUIRED').exists?,'Found P32_CONVERTOR_REQUIRED select list') + assert(@@ie.select_list(:id,'P32_CONVERTOR_REQUIRED').exists?,'Could not Find P32_CONVERTOR_REQUIRED select list') assert_equal(false,@@ie.select_list(:id,'P32_AMR_REQUIRED').exists?,'Found P32_AMR_REQUIRED select list') assert_equal(false,@@ie.select_list(:id,'P32_EMS_REQUIRED').exists?,'Found P32_EMS_REQUIRED select list') assert_equal(false,@@ie.select_list(:id,'P32_BYPASS_REQUIRED').exists?,'Found P32_BYPASS_REQUIRED select list')