# frozen_string_literal: true require "spec_helper" RSpec.describe <%= File.join(*[namespaced_path, file_path].compact).classify %>::Component, type: :component do it "renders the overview preview" do render_preview(:overview) end # it "renders something useful" do # render_inline(described_class.new(<%= attributes.map { |attr| "#{attr.name}: #{attr.name.to_s.inspect}" }.join(", ") %>)) # # expect(page).to have_text "Hello, components!" # expect(page).to have_css '.value' # end end