Read more about ActionView::TestCase in Testing Rails Applications in the guides.
ActionView::TestCase