Sha256: b02b6e0833a33c0f1e5295ec29514903845616e805a8174bed6309b5f1af4316
Contents?: true
Size: 379 Bytes
Versions: 4
Compression:
Stored size: 379 Bytes
Contents
require "test_helper" class <%= class_name %>ComponentTest < ActiveSupport::TestCase include ActionView::Component::TestHelpers test "component renders something useful" do # assert_equal( # %(<span title="my title">Hello, components!</span>), # render_inline(<%= class_name %>, attr: "value") { "Hello, components!" }.css("span").to_html # ) end end
Version data entries
4 entries across 4 versions & 1 rubygems