diff --git a/javascripts/discourse/components/category-banner.hbs b/javascripts/discourse/components/category-banner.hbs index 34b5824..def65ed 100644 --- a/javascripts/discourse/components/category-banner.hbs +++ b/javascripts/discourse/components/category-banner.hbs @@ -28,7 +28,7 @@ {{#if this.displayCategoryDescription}}
this is some description
") } fab!(:category_subcategory) do Fabricate(:category, parent_category: category, description: "some description") end @@ -16,7 +16,7 @@ RSpec.describe "Category Banners", type: :system do expect(category_banner).to be_visible expect(category_banner).to have_title(category.name) - expect(category_banner).to have_description(category.description) + expect(category_banner).to have_description("this is some description") end it "does not display the category description when `show_description` setting is false" do