Flowdock
method

assert_same

Importance_1
v1_8_6_287 - Show latest stable - 0 notes - Class: Test::Unit::Assertions
assert_same(expected, actual, message="") public

Passes if actual .equal? expected (i.e. they are the same instance).

Example:

  o = Object.new
  assert_same o, o
Show source
Register or log in to add new notes.