Module: ActionView::TestCase::Behavior::Locals
- Defined in:
- lib/action_view/test_case.rb
Instance Attribute Summary collapse
-
#locals ⇒ Object
Returns the value of attribute locals.
Instance Method Summary collapse
Instance Attribute Details
#locals ⇒ Object
Returns the value of attribute locals.
145 146 147 |
# File 'lib/action_view/test_case.rb', line 145 def locals @locals end |
Instance Method Details
#_render_partial(options) ⇒ Object
147 148 149 150 |
# File 'lib/action_view/test_case.rb', line 147 def _render_partial() locals[[:partial]] = [:locals] super() end |