Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (7 sloc) 213 Bytes
---
assert_respond_to: |-
# 'cheat assertions' for the rest
assert_respond_to(object, method, message="")
Passes if object .respond_to? method
Example:
assert_respond_to 'bugbear', :slice