Module: FocusedController::TestHooks

Defined in:
lib/focused_controller/test_helper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#_render_optionsObject (readonly)

Returns the value of attribute _render_options.



8
9
10
# File 'lib/focused_controller/test_helper.rb', line 8

def _render_options
  @_render_options
end

Instance Method Details

#render_to_body(options = {}) ⇒ Object



10
11
12
13
# File 'lib/focused_controller/test_helper.rb', line 10

def render_to_body(options = {})
  _process_options(options)
  @_render_options = options
end