cheat sheets.

$ cheat assert_send
# 'cheat assertions' for the rest

assert_send(send_array, message="")

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]
Version 1, updated 91 days ago.
. o 0 ( edit | history )
( add new | see all )