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