Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 4582

Show
Ignore:
Timestamp:
07/08/06 00:18:42 (2 years ago)
Author:
bitsweat
Message:

Integration tests behave well with render_component. Closes #4632.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/CHANGELOG

    r4550 r4582  
    11*SVN* 
     2 
     3* Integration tests behave well with render_component. #4632 [edward.frederick@revolution.com, dev.rubyonrails@maxdunn.com] 
    24 
    35* Added exception handling of missing layouts #5373 [chris@ozmm.org] 
  • trunk/actionpack/lib/action_controller/integration.rb

    r4397 r4582  
    333333          self.last_instantiation = nil 
    334334        end 
    335      
     335 
    336336        def new_with_capture(*args) 
    337           self.last_instantiation ||= new_without_capture(*args) 
     337          controller = new_without_capture(*args) 
     338          self.last_instantiation ||= controller 
     339          controller 
    338340        end 
    339341      end