akkounts/spec/components/header_component_spec.rb
Sebastian Kippe 835152c656
All checks were successful
continuous-integration/drone/push Build is passing
Introduce ViewComponent
https://viewcomponent.org
2022-02-20 16:53:11 -06:00

14 lines
354 B
Ruby

require "rails_helper"
RSpec.describe HeaderComponent, type: :component do
pending "add some examples to (or delete) #{__FILE__}"
# it "renders something useful" do
# expect(
# render_inline(described_class.new(attr: "value")) { "Hello, components!" }.css("p").to_html
# ).to include(
# "Hello, components!"
# )
# end
end