This project is archived and is in readonly mode.

#4780 ✓resolved
Anil Wadghule

Broken tests on actionpack

Reported by Anil Wadghule | June 6th, 2010 @ 08:01 PM

When tests run on actionpack (Rails 509f3d7) gives you following errors

3) Error:
test_generates_a_new_details_key_for_each_details_hash(LookupContextTest):
NoMethodError: undefined method size' for :html:Symbol<br/>

/Users/anil/Code/rails/rails/actionpack/lib/action_view/lookup_context.rb:149:in `formats='

4) Error:
test_provides_getters_and_setters_for_formats(LookupContextTest):
NoMethodError: undefined method size' for :html:Symbol<br/>

/Users/anil/Code/rails/rails/actionpack/lib/action_view/lookup_context.rb:149:in `formats='

5) Error:
test_rjs_type_skips_layout(RespondToControllerTest):
NoMethodError: undefined method size' for :js:Symbol<br/>

/Users/anil/Code/rails/rails/actionpack/lib/action_view/lookup_context.rb:149:in `formats='

Attaching a patch which fixes it.

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>

Attachments

Pages