about summary refs log tree commit diff
path: root/spec/views/stream_entries
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-07-07 18:51:56 +0200
committerGitHub <noreply@github.com>2018-07-07 18:51:56 +0200
commitcd509d2146439490bcb63081739db1d5fd485d56 (patch)
tree23cb895a70377730acabf67a82a465b510eca53e /spec/views/stream_entries
parent9804ec3a6df7f5fae00443d489eee663e32973da (diff)
Remove .p-name microformat class (#7961)
Fix #7926
Diffstat (limited to 'spec/views/stream_entries')
-rw-r--r--spec/views/stream_entries/show.html.haml_spec.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/views/stream_entries/show.html.haml_spec.rb b/spec/views/stream_entries/show.html.haml_spec.rb
index 560039ffa..e0681b125 100644
--- a/spec/views/stream_entries/show.html.haml_spec.rb
+++ b/spec/views/stream_entries/show.html.haml_spec.rb
@@ -30,9 +30,7 @@ describe 'stream_entries/show.html.haml', without_verify_partial_doubles: true d
 
     mf2 = Microformats.parse(rendered)
 
-    expect(mf2.entry.name.to_s).to eq status.text
     expect(mf2.entry.url.to_s).not_to be_empty
-
     expect(mf2.entry.author.name.to_s).to eq alice.display_name
     expect(mf2.entry.author.url.to_s).not_to be_empty
   end
@@ -56,9 +54,7 @@ describe 'stream_entries/show.html.haml', without_verify_partial_doubles: true d
 
     mf2 = Microformats.parse(rendered)
 
-    expect(mf2.entry.name.to_s).to eq reply.text
     expect(mf2.entry.url.to_s).not_to be_empty
-
     expect(mf2.entry.comment.url.to_s).not_to be_empty
     expect(mf2.entry.comment.author.name.to_s).to eq carl.display_name
     expect(mf2.entry.comment.author.url.to_s).not_to be_empty