Browse Source

fix tests

pull/493/head
Kat 3 years ago
parent
commit
7eed656b1a
  1. 6
      spec/components/primary_navigation_component_spec.rb

6
spec/components/primary_navigation_component_spec.rb

@ -2,9 +2,9 @@ require "rails_helper"
RSpec.describe PrimaryNavigationComponent, type: :component do RSpec.describe PrimaryNavigationComponent, type: :component do
let(:items) do let(:items) do
[{ name: "Organisations", url: "#", current: true }, [{ name: "Organisations", url: "#", current: true, comparable_urls: [] },
{ name: "Users", url: "#" }, { name: "Users", url: "#", comparable_urls: [] },
{ name: "Logs ", url: "#" }] { name: "Logs ", url: "#", comparable_urls: [] }]
end end
context "when the item is 'current' in nav tabs" do context "when the item is 'current' in nav tabs" do

Loading…
Cancel
Save