module ActionView::Component::TestHelpers

Public Instance Methods

render_component(component, **args, &block) click to toggle source
# File lib/action_view/component/test_helpers.rb, line 8
def render_component(component, **args, &block)
  ActiveSupport::Deprecation.warn(
    "`render_component` has been deprecated in favor of `render_inline`, and will be removed in v2.0.0."
  )

  render_inline(component, args, &block)
end