require File.dirname(__FILE__) + '/../abstract_unit' class FormTagHelperTest < Test::Unit::TestCase include ActionView::Helpers::UrlHelper include ActionView::Helpers::TagHelper include ActionView::Helpers::FormTagHelper def setup @controller = Class.new do def url_for(options, *parameters_for_method_reference) "http://www.example.com" end end @controller = @controller.new end def test_check_box_tag actual = check_box_tag "admin" expected = %() assert_dom_equal expected, actual end def test_form_tag actual = form_tag expected = %(