lib/view_component/test_helpers.rb in actionview-component-1.14.1 vs lib/view_component/test_helpers.rb in actionview-component-1.15.0
- old
+ new
@@ -22,17 +22,9 @@
def request
@request ||= ActionDispatch::TestRequest.create
end
- 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
-
def with_variant(variant)
old_variants = controller.view_context.lookup_context.variants
controller.view_context.lookup_context.variants = variant
yield