Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (8 sloc) 377 Bytes
assert_equal: |-
# 'cheat assertions' for the rest
assert_equal(expected, actual, message=nil)
Passes if expected == +actual.
Note that the ordering of arguments is important, since a helpful error message is generated when this one fails that tells you the values of expected and actual.
assert_equal 'MY STRING', 'my string'.upcase