require 'test_helper'

class NavigationTest < ActiveSupport::TestCase
  include KlassJson

  def setup
    @klass = Class.new do
      include(Redbrick::Menu::Navigation)
    end
  end

  test 'renders json' do
    assert klass_json
  end

  has_key :items

  test 'items are empty' do
    assert klass_json[:items].empty?
  end
end
