From d50bf47b008ae4c1a84ccc44e8fc7633bfffa650 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Thu, 14 Jan 2010 00:24:30 +0100 Subject: Call :to_model before working with the object. --- actionpack/test/template/form_helper_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/test/template/form_helper_test.rb') diff --git a/actionpack/test/template/form_helper_test.rb b/actionpack/test/template/form_helper_test.rb index c62bc6f4a8..2f6d97de3d 100644 --- a/actionpack/test/template/form_helper_test.rb +++ b/actionpack/test/template/form_helper_test.rb @@ -521,11 +521,11 @@ class FormHelperTest < ActionView::TestCase old_locale, I18n.locale = I18n.locale, :submit form_for(:post) do |f| - concat f.submit + concat f.submit :class => "extra" end expected = "
" + - "" + + "" + "
" assert_dom_equal expected, output_buffer ensure -- cgit v1.2.3