Flowdock
method

render

Importance_0
v3.2.8 - Show latest stable - 0 notes - Class: ActionView::TestCase::Behavior::Locals
render(options = {}, local_assigns = {}) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_view/test_case.rb, line 158
        def render(options = {}, local_assigns = {})
          case options
          when Hash
            if block_given?
              locals[options[:layout]] = options[:locals]
            elsif options.key?(:partial)
              locals[options[:partial]] = options[:locals]
            end
          else
            locals[options] = local_assigns
          end

          super
        end
Register or log in to add new notes.