Flowdock
method

render

Importance_0
v4.0.2 - 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 183
        def render(options = {}, local_assigns = {})
          case options
          when Hash
            if block_given?
              rendered_views.add options[:layout], options[:locals]
            elsif options.key?(:partial)
              rendered_views.add options[:partial], options[:locals]
            end
          else
            rendered_views.add options, local_assigns
          end

          super
        end
Register or log in to add new notes.