diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-04-19 13:06:57 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-04-19 13:08:24 -0500 |
commit | 17d4164a16e5fe7b252375211424a2999a331291 (patch) | |
tree | 772695335b861e70caa15d92cd77ca568406cb7f /actionpack/lib/action_view.rb | |
parent | ef4c65088fb907fc819e6b5d83d284c38cdaabfc (diff) | |
download | rails-17d4164a16e5fe7b252375211424a2999a331291.tar.gz rails-17d4164a16e5fe7b252375211424a2999a331291.tar.bz2 rails-17d4164a16e5fe7b252375211424a2999a331291.zip |
Introduce ActionView::TestCase for testing view helpers.
Diffstat (limited to 'actionpack/lib/action_view.rb')
-rw-r--r-- | actionpack/lib/action_view.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/actionpack/lib/action_view.rb b/actionpack/lib/action_view.rb index f9de5c1307..609334d52d 100644 --- a/actionpack/lib/action_view.rb +++ b/actionpack/lib/action_view.rb @@ -38,6 +38,8 @@ require 'action_view/template_error' ActionView::Base.class_eval do include ActionView::Partials -end -ActionView::Base.load_helpers + ActionView::Base.helper_modules.each do |helper_module| + include helper_module + end +end |