From ed8cc08d0e9c46e194ab1d0b985309bf59d67c51 Mon Sep 17 00:00:00 2001 From: Katherine Martin <78093815+martikat@users.noreply.github.com> Date: Thu, 5 Dec 2024 12:57:59 +0000 Subject: [PATCH] Update image card spec (#901) --- 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