diff options
Diffstat (limited to 'spec/components/previews/layouts/horizontal_section_component_preview.rb')
-rw-r--r-- | spec/components/previews/layouts/horizontal_section_component_preview.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/components/previews/layouts/horizontal_section_component_preview.rb b/spec/components/previews/layouts/horizontal_section_component_preview.rb index cc7e8c8c2b1..7393020077f 100644 --- a/spec/components/previews/layouts/horizontal_section_component_preview.rb +++ b/spec/components/previews/layouts/horizontal_section_component_preview.rb @@ -13,9 +13,9 @@ module Layouts body: 'Settings fields here.' ) render(::Layouts::HorizontalSectionComponent.new(border: border, options: { class: 'gl-mb-6 gl-pb-3' })) do |c| - c.title { title } - c.description { description } - c.body { body } + c.with_title { title } + c.with_description { description } + c.with_body { body } end end end |