diff options
author | José Valim <jose.valim@gmail.com> | 2010-02-02 11:32:28 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-02-02 11:32:28 +0100 |
commit | 95eadb39bd2abe986f0981a8e03c317ec9c1bca0 (patch) | |
tree | 71c6afa05b5c0ec87a5af5cfb6e01844df225f19 /actionpack/test | |
parent | ec4b18ec78618fdd1c4fbfd7fc538ea3fb7ccbc4 (diff) | |
download | rails-95eadb39bd2abe986f0981a8e03c317ec9c1bca0.tar.gz rails-95eadb39bd2abe986f0981a8e03c317ec9c1bca0.tar.bz2 rails-95eadb39bd2abe986f0981a8e03c317ec9c1bca0.zip |
Configuration values should be on AV::Base.
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/template/form_helper_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/template/form_helper_test.rb b/actionpack/test/template/form_helper_test.rb index aafc318b76..f2d524bd1b 100644 --- a/actionpack/test/template/form_helper_test.rb +++ b/actionpack/test/template/form_helper_test.rb @@ -1195,8 +1195,8 @@ class FormHelperTest < ActionView::TestCase end def test_default_form_builder - old_default_form_builder, ActionView.default_form_builder = - ActionView.default_form_builder, LabelledFormBuilder + old_default_form_builder, ActionView::Base.default_form_builder = + ActionView::Base.default_form_builder, LabelledFormBuilder form_for(:post, @post) do |f| concat f.text_field(:title) @@ -1213,7 +1213,7 @@ class FormHelperTest < ActionView::TestCase assert_dom_equal expected, output_buffer ensure - ActionView.default_form_builder = old_default_form_builder + ActionView::Base.default_form_builder = old_default_form_builder end def test_default_form_builder_with_active_record_helpers |