Sha256: a1b7f3ff3de7ce199be79e168401099935c3c3300b8e9e34d1248c666e332594
Contents?: true
Size: 483 Bytes
Versions: 2
Compression:
Stored size: 483 Bytes
Contents
# 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
Version data entries
2 entries across 2 versions & 1 rubygems