Module: ActionView::Component::TestHelpers
- Includes:
- ViewComponent::TestHelpers
- Included in:
- TestCase
- Defined in:
- lib/action_view/component/test_helpers.rb
Instance Method Summary collapse
Methods included from ViewComponent::TestHelpers
#controller, #page, #refute_component_rendered, #render_inline, #request, #with_variant
Instance Method Details
#render_component(component, **args, &block) ⇒ Object
8 9 10 11 12 13 14 |
# 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 |