diff --git a/spec/components/search_result_caption_component_spec.rb b/spec/components/search_result_caption_component_spec.rb index b6079d289..b628a4111 100644 --- a/spec/components/search_result_caption_component_spec.rb +++ b/spec/components/search_result_caption_component_spec.rb @@ -16,6 +16,7 @@ RSpec.describe SearchResultCaptionComponent, type: :component do context "when no search results are found" do let(:searched) { nil } + it "all of the nav tabs specified in the items hash are passed to it" do result = render_inline(described_class.new(searched:, count:, item_label:, total_count:, item:, path:))