Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Broken tests on actionpack

#4780

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.

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

State: resolved
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Anil Wadghule
  2. Anil Wadghule
    Anil Wadghule
    • Assigned user cleared.

    Looks like this got resolved in commit http://github.com/rails/rails/commit/5273bd97e6746bd5bdc2450ad5a2d6...

    This ticket can be marked as invalid.

    June 7th, 2010 @ 04:49 PM

  3. Rohit Arondekar
    Rohit Arondekar
    • State changed from new to resolved

    June 15th, 2010 @ 12:19 PM