require 'test_helper' class DeprecatedTest < ActionView::TestCase include Gretel::ViewHelpers fixtures :all helper :application setup do Gretel.reset! Gretel.suppress_deprecation_warnings = true end test "show root alone" do breadcrumb :root assert_equal %{}, breadcrumbs(show_root_alone: true) end test "deprecated configuration block" do assert_raises RuntimeError do Gretel::Crumbs.layout do end end end end