Flowdock
method

assert_send

Importance_1
v1_8_7_330 - Show latest stable - 0 notes - Class: Test::Unit::Assertions
assert_send(send_array, message="") public

Passes if the method send returns a true value.

send_array is composed of:

  • A receiver

  • A method

  • Arguments to the method

Example:

assert_send [[1, 2], :include?, 4]
Show source
Register or log in to add new notes.