assert_not_same(expected, actual, message="") public

Passes if ! actual .equal? expected

Example:

assert_not_same Object.new, Object.new
Show source
Register or log in to add new notes.