$ command line cheat sheets
Cheat Sheet Title: [ no_spaces_alphanumeric_only ]
Cheat Sheet:# 'cheat assertions' for the rest assert_dom_equal(expected, actual, message = "") Test two HTML strings for equivalency (e.g., identical up to reordering of attributes) Examples # assert that the referenced method generates the appropriate HTML string assert_dom_equal '<a href="http://www.example.com">Apples</a>', link_to("Apples", "http://www.example.com")
Your cheat sheet will be editable (fixable) by anyone. Each cheat sheet is essentially a wiki page. It may also be used by millions of people for reference purposes from the comfort of their command line. If this is okay with you, please save.