DEV: Use proper heredoc name.

DEV: Use proper heredoc name.

diff --git a/plugins/poll/spec/lib/pretty_text_spec.rb b/plugins/poll/spec/lib/pretty_text_spec.rb
index 7dbcd2e..db8af25 100644
--- a/plugins/poll/spec/lib/pretty_text_spec.rb
+++ b/plugins/poll/spec/lib/pretty_text_spec.rb
@@ -121,14 +121,14 @@ describe PrettyText do
   end
 
   it 'can onebox posts' do
-    post = Fabricate(:post, raw: <<~EOF)
+    post = Fabricate(:post, raw: <<~MD)
       A post with a poll
 
       [poll type=regular]
       * Hello
       * World
       [/poll]
-    EOF
+    MD
 
     onebox = Oneboxer.onebox_raw(post.full_url, user_id: Fabricate(:user).id)
     doc = Nokogiri::HTML(onebox[:preview])
@@ -138,14 +138,14 @@ describe PrettyText do
   end
 
   it 'can reduce excerpts' do
-    post = Fabricate(:post, raw: <<~EOF)
+    post = Fabricate(:post, raw: <<~MD)
       A post with a poll
 
       [poll type=regular]
       * Hello
       * World
       [/poll]
-    EOF
+    MD
 
     excerpt = PrettyText.excerpt(post.cooked, SiteSetting.post_onebox_maxlength, post: post)
     expect(excerpt).to eq("A post with a poll \n<a href=\"#{post.url}\">poll</a>")

GitHub sha: 70b73c21