aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/form_helper_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/template/form_helper_test.rb')
-rw-r--r--actionpack/test/template/form_helper_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/template/form_helper_test.rb b/actionpack/test/template/form_helper_test.rb
index 7f7f473564..db5195e272 100644
--- a/actionpack/test/template/form_helper_test.rb
+++ b/actionpack/test/template/form_helper_test.rb
@@ -19,6 +19,7 @@ class FormHelperTest < Test::Unit::TestCase
def @post.errors() Class.new{ def on(field) field == "author_name" end }.new end
def @post.id; 123; end
+ def @post.id_before_type_cast; 123; end
@post.title = "Hello World"
@post.author_name = ""