assert_select cheat sheet Posted on September 4, 2006 by Assaf Jog your memory when writing functional tests. Download the HTML, PDF or if you’re using cheat: cheat assert_select.
Thanks for the cheat sheet! You might want to add the :html equality test option. It’s similar to the :text equality test, but matches html (see http://blog.gorgorg.org/articles/2007/01/22/assert_select-lets-you-specify-the-html-content-of-a-tag).
Pingback: Labnotes » assert_select plugin for Rails
Pingback: Balance On Rails : Rails 1.2 RC1: Novidades em ActiveRecord, Action Pack e Active Support
Thanks for the cheat sheet! You might want to add the :html equality test option. It’s similar to the :text equality test, but matches html (see http://blog.gorgorg.org/articles/2007/01/22/assert_select-lets-you-specify-the-html-content-of-a-tag).
Pingback: Rails 1.2.1 Impression - Push cx
Pingback: Undefine method assert_select
Pingback: assert_select cheat sheet at random
Great Work! I’ve added it to http://TechCheatSheets.com
Pingback: Coffee, Code and Candor » Blog Archive » Asserting a Rails controller response doesn’t contain certain content
Pingback: RSpec have_tag et Rails assert_select cheat sheet - 6502.fr
rails 3 update?