diff options
author | Emilio Tagua <miloops@gmail.com> | 2010-09-28 18:31:52 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2010-09-28 18:31:52 -0300 |
commit | 3e336f9ab70305386e941b2bed34e1dfac80a9f8 (patch) | |
tree | 0c3b1e41867baca17628fb6e0fe3caf1e05cbbe1 | |
parent | 0c08d8bd758a15b137ba3523c3cde8b371cf725a (diff) | |
download | rails-3e336f9ab70305386e941b2bed34e1dfac80a9f8.tar.gz rails-3e336f9ab70305386e941b2bed34e1dfac80a9f8.tar.bz2 rails-3e336f9ab70305386e941b2bed34e1dfac80a9f8.zip |
Use redefine_method since baz is already defined.
-rw-r--r-- | actionpack/test/fixtures/alternate_helpers/foo_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/fixtures/alternate_helpers/foo_helper.rb b/actionpack/test/fixtures/alternate_helpers/foo_helper.rb index a956fce6fa..2528584473 100644 --- a/actionpack/test/fixtures/alternate_helpers/foo_helper.rb +++ b/actionpack/test/fixtures/alternate_helpers/foo_helper.rb @@ -1,3 +1,3 @@ module FooHelper - def baz() end + redefine_method(:baz) {} end |