Class: TC_CloseCall
- Defined in:
- lib/carat-dev/closecall/closecall-test.rb
Overview
test
Instance Method Summary collapse
Instance Method Details
#test_it ⇒ Object
31 32 33 34 35 36 37 |
# File 'lib/carat-dev/closecall/closecall-test.rb', line 31 def test_it test = T.new assert_equal( '3:a,b', test.somemethod('a', 'b') ) assert_equal( '1:a', test.somemethod('a') ) assert_equal( '2:b', test.somemethod2('b') ) assert_raises( NameError, test.somemethod('a', 'b', 'c') ) end |