Prev: Detecting Single Modifier Key Presses (Is HighLine Not Able?
Next: Help decoding UDPSocket trap data
From: Xeno Campanoli / Eskimo North and Gmail on 3 May 2010 16:07 class BaseMenuUnitTests < Test::Unit::TestCase def test_validateNavId assert_nothing_raised(Exception) { navid = validateNavId(NavTrac,"test_validNavId") assert(navid == NavTrac, "validateNavId Return value '#{navid}' differs from object validated (#{NavTrac}).") } end end It is the easiest way I can see to put this together, as long as it doesn't conflict with some standard or requirement of usage...??? xc -- "It's the preponderance, stupid!" - Professor Stephen Schneider, IPCC member |