From 11bdf6d7d316a3761d17f4eb80ea88c7836db138 Mon Sep 17 00:00:00 2001 From: martikat <78093815+martikat@users.noreply.github.com> Date: Thu, 5 Dec 2024 09:18:21 +0000 Subject: [PATCH] Update image card spec --- config/initializers/markdown.rb | 2 -- spec/helpers/content_helper_spec.rb | 5 +---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/config/initializers/markdown.rb b/config/initializers/markdown.rb index 05527704..70cb6873 100644 --- a/config/initializers/markdown.rb +++ b/config/initializers/markdown.rb @@ -53,9 +53,7 @@ def two_thirds # @example # {image_card} # This is the title - # # This is the body copy - # # //path/to/image # {/image_card} # diff --git a/spec/helpers/content_helper_spec.rb b/spec/helpers/content_helper_spec.rb index 0c1fd0ec..7ff332b9 100644 --- a/spec/helpers/content_helper_spec.rb +++ b/spec/helpers/content_helper_spec.rb @@ -120,17 +120,14 @@ <<~MARKUP {image_card} This is the image card title - This is image text - //This is the image - {/image_card} MARKUP end it 'renders a title' do - expect(html).to include 'title="This is the image card title"' + expect(html).to include 'This is the image card title' end end end