# File lib/test/rails/view_test_case.rb, line 298
  def assert_form(form_action, method = nil, enctype = nil, &block)
    selector = "form[action='#{form_action}']"
    selector << "[method='#{method}']" if method
    selector << "[enctype='#{enctype}']" if enctype
    assert_select selector, &block
  end