method

assert_instance_of

Importance_1
v1_8_7_72 - Show latest stable - 0 notes - Class: Test::Unit::Assertions
assert_instance_of(klass, object, message="") public

Passes if object .instance_of? klass

Example:

  assert_instance_of String, 'foo'
Show source
Register or log in to add new notes.