Class: ViewComponent::SystemTestCase

Inherits:
ActionDispatch::SystemTestCase
  • Object
show all
Includes:
SystemTestHelpers
Defined in:
lib/view_component/system_test_case.rb

Instance Attribute Summary

Attributes included from TestHelpers

#rendered_content

Instance Method Summary collapse

Methods included from SystemTestHelpers

#with_rendered_component_path

Methods included from TestHelpers

#render_in_view_context, #render_inline, #render_preview, #rendered_json, #vc_test_controller, #vc_test_request, #with_controller_class, #with_format, #with_request_url, #with_variant

Instance Method Details

#pageObject



9
10
11
# File 'lib/view_component/system_test_case.rb', line 9

def page
  Capybara.current_session
end