require "spec_helper" require "action_view" RSpec.describe Fume::Nav::HelperExt do class TestView < ::ActionView::Base include Fume::Nav::HelperExt end let(:controller) { ActionView::TestCase::TestController.new } let(:view) { TestView.new } before { view.output_buffer = ActionView::OutputBuffer.new } describe "#fume_nav" do let(:current) { :foo } subject { view.fume_nav(current) { |n| n.li_tag(:foo) { "foo" } } } it { is_expected.to include('