Module: ActionController::ProcessWithTest

Defined in:
lib/action_controller/test_process.rb

Overview

:nodoc:

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



562
563
564
# File 'lib/action_controller/test_process.rb', line 562

def self.included(base)
  base.class_eval { attr_reader :assigns }
end

Instance Method Details

#process_with_test(*args) ⇒ Object



566
567
568
# File 'lib/action_controller/test_process.rb', line 566

def process_with_test(*args)
  process(*args).tap { set_test_assigns }
end