Something that is kind of tricky with functional and integration tests in Ruby on Rails is to diagnose problems when your assert_selects don't work. I tried a variety of ways to output the HTML that is generated, but the response_visualizer plugin looks like it might be the way to go.