We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca8cad6 commit 4adcb08Copy full SHA for 4adcb08
1 file changed
spec/components/uswds_components/basic_header_component_spec.rb
@@ -20,6 +20,15 @@
20
end
21
22
23
+ describe UswdsComponents::BasicHeaderComponent::BasicLogo, type: :component do
24
+ let(:component) { described_class.new(title: "Title", href: "/home") }
25
+
26
+ it "links to the href" do
27
+ render_inline(component)
28
+ expect(page).to have_link("Title", href: "/home")
29
+ end
30
31
32
describe UswdsComponents::BasicHeaderComponent::PrimaryItem,
33
type: :component do
34
let(:component) { described_class.new(title: "Help", href: '/help') }
0 commit comments