# frozen_string_literal: true require 'test_helper' class <%= full_class_name %>Test < ::ComponentTestCase # For a full list of available assertions see # https://rubydoc.info/github/jnicklas/capybara/Capybara/Node/Matchers # def test_returns_correct_html # render do # <%= full_class_name %>.call # end # # assert_text 'Hello from <%= full_class_name %>' # assert_selector "div.<%= component_css_class %> p", text: 'Default Description' # end end