This project is archived and is in readonly mode.

#5351 ✓invalid
Joël AZEMAR

test/unit with cache_helper action_pack 2.3.8 fail

Reported by Joël AZEMAR | August 10th, 2010 @ 08:33 PM

Helper of http://api.rubyonrails.org/classes/ActionView/Helpers/CacheHelper.h... ActionController::Caching::Fragments fail with Test unit !

34: def cache(name = {}, options = nil, &block)
35: @controller.fragment_for(output_buffer, name, options, &block)
36: end

ActionView::TemplateError: wrong number of arguments (1 for 0)

<%- cache "layout_meta_#{Configuration.last_cache}" do -%>

I don't underdstand ?!

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages