method
assert_instance_of
ruby latest stable - Class:
MiniTest::Assertions
assert_instance_of(cls, obj, msg = nil)public
Fails unless obj is an instance of cls.
assert_instance_of(cls, obj, msg = nil)Fails unless obj is an instance of cls.