# 'cheat assertions' for the rest assert_not_nil(object, message="") Passes if ! object .nil? Example: assert_not_nil '1 two 3'.sub!(/two/, '2')
cheat sheets.
$ cheat assert_not_nil$ cheat assert_not_nil# 'cheat assertions' for the rest assert_not_nil(object, message="") Passes if ! object .nil? Example: assert_not_nil '1 two 3'.sub!(/two/, '2')