diff options
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/template/form_helper_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/form_helper_test.rb b/actionpack/test/template/form_helper_test.rb index 3b1af47770..c5a32635f8 100644 --- a/actionpack/test/template/form_helper_test.rb +++ b/actionpack/test/template/form_helper_test.rb @@ -2238,7 +2238,7 @@ class FormHelperTest < ActionView::TestCase end end - assert_deprecated /Giving a block to FormBuilder is deprecated and has no effect anymore/ do + assert_deprecated(/Giving a block to FormBuilder is deprecated and has no effect anymore/) do builder_class.new(:foo, nil, nil, {}, proc {}) end end |