fixed more tests after changes of the last few weeks

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3807 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
PriestJ
2008-03-03 11:56:05 +00:00
parent 5397b52dc4
commit bc4be9711f
6 changed files with 12 additions and 11 deletions

View File

@@ -156,7 +156,7 @@ class Test_04_drawings_screen < Test::Unit::TestCase
@@ie.button(:id, 'create').click
@@ie.wait
assert(@@ie.contains_text('Error'),'An error was not generated')
assert(@@ie.contains_text('ORA-00001: unique constraint (MIP_TEST.DRWG_PK) violated'),'Expected a nasty oracle error message(ORA-00001) but did not get it')
assert(@@ie.contains_text('Attempting to create a duplicate Drawings entry'),'Expected a nice error message but did not get it')
end
#
end