diff options
author | Carlhuda <carlhuda@engineyard.com> | 2010-03-04 16:35:05 -0800 |
---|---|---|
committer | Carlhuda <carlhuda@engineyard.com> | 2010-03-04 16:35:05 -0800 |
commit | c8e1cc8657c19a852f3c84cdc61df538486f5adf (patch) | |
tree | db5b0a9c12df0cb6a2e1f9c1226e27d909d7eeb9 /actionpack/test | |
parent | ecf84b239f30e647b8bb12fb34f4569975bef4de (diff) | |
download | rails-c8e1cc8657c19a852f3c84cdc61df538486f5adf.tar.gz rails-c8e1cc8657c19a852f3c84cdc61df538486f5adf.tar.bz2 rails-c8e1cc8657c19a852f3c84cdc61df538486f5adf.zip |
remove_method is private
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/template/test_case_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/template/test_case_test.rb b/actionpack/test/template/test_case_test.rb index 87408d8475..195a6ea3ae 100644 --- a/actionpack/test/template/test_case_test.rb +++ b/actionpack/test/template/test_case_test.rb @@ -104,7 +104,7 @@ module ActionView assert_match /Hello: EloyHello: Manfred/, render(:partial => 'test/from_helper') ensure - self.class.helper_class.remove_method :render_from_helper + self.class.helper_class.send(:remove_method, :render_from_helper) end end @@ -162,7 +162,7 @@ module ActionView end assert_equal 'Word!', render(:partial => 'test/from_helper') ensure - _helpers.remove_method :render_from_helper + _helpers.send(:remove_method, :render_from_helper) end end |