APIdock / Ruby
/
Browse About
method

must_be_same_as

v1_9_3_392 - Show latest stable - Class: MiniTest::Expectations
must_be_same_as
public

See MiniTest::Assertions#assert_same

a.must_be_same_as b
# File lib/minitest/spec.rb, line 375
  infect_an_assertion :assert_same, :must_be_same_as

Related methods

  • Instance methods
  • must_be
  • must_be_empty
  • must_be_instance_of
  • must_be_kind_of
  • must_be_nil
  • must_be_same_as
  • must_be_silent
  • must_be_within_delta
  • must_be_within_epsilon
  • must_equal
  • must_include
  • must_match
  • must_output
  • must_raise
  • must_respond_to
  • must_send
  • must_throw
  • wont_be
  • wont_be_close_to
  • wont_be_empty
  • wont_be_instance_of
  • wont_be_kind_of
  • wont_be_nil
  • wont_be_same_as
  • wont_be_within_delta
  • wont_be_within_epsilon
  • wont_equal
  • wont_include
  • wont_match
  • wont_respond_to
APIdock API Documentation Browser

© 2026 APIdock