require 'test_helper' class MyHelperTest < ActionView::TestCase test "title" do assert_select '

My Awesome App

'.to_node, 'h1' end test "nav" do html = '' assert_select html.to_node, 'div' do assert_select 'a', /home/i end end end # This is probably a more flexible and elegant solution # http://github.com/vigetlabs/helper_me_test/tree/master