From 7eed656b1a8e2263b49acd8f95bff765cd36a06b Mon Sep 17 00:00:00 2001 From: Kat Date: Mon, 25 Apr 2022 09:40:29 +0100 Subject: [PATCH] fix tests --- spec/components/primary_navigation_component_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/components/primary_navigation_component_spec.rb b/spec/components/primary_navigation_component_spec.rb index c088df1e7..349f4f4e0 100644 --- a/spec/components/primary_navigation_component_spec.rb +++ b/spec/components/primary_navigation_component_spec.rb @@ -2,9 +2,9 @@ require "rails_helper" RSpec.describe PrimaryNavigationComponent, type: :component do let(:items) do - [{ name: "Organisations", url: "#", current: true }, - { name: "Users", url: "#" }, - { name: "Logs ", url: "#" }] + [{ name: "Organisations", url: "#", current: true, comparable_urls: [] }, + { name: "Users", url: "#", comparable_urls: [] }, + { name: "Logs ", url: "#", comparable_urls: [] }] end context "when the item is 'current' in nav tabs" do