From 186fc536c2818ff5ad08a86488011e236f639dea Mon Sep 17 00:00:00 2001 From: JG Date: Fri, 17 Jun 2022 15:13:29 +0100 Subject: [PATCH] rubocop --- spec/components/search_result_caption_component_spec.rb | 1 + 1 file changed, 1 insertion(+) 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:))