diff --git a/spec/views/statuses/show.html.haml_spec.rb b/spec/views/statuses/show.html.haml_spec.rb
index 92ba678b6..c74377d98 100644
--- a/spec/views/statuses/show.html.haml_spec.rb
+++ b/spec/views/statuses/show.html.haml_spec.rb
@@ -21,12 +21,11 @@ describe 'statuses/show.html.haml', :without_verify_partial_doubles do
 
     render
 
-    header_tags = view.content_for(:header_tags)
-
-    expect(header_tags).to match(//)
-    expect(header_tags).to match(//)
-    expect(header_tags).to match(//)
-    expect(header_tags).to match(%r{})
+    expect(header_tags)
+      .to match(//)
+      .and match(//)
+      .and match(//)
+      .and match(%r{})
   end
 
   it 'has twitter player tag' do
@@ -40,9 +39,12 @@ describe 'statuses/show.html.haml', :without_verify_partial_doubles do
 
     render
 
-    header_tags = view.content_for(:header_tags)
+    expect(header_tags)
+      .to match(%r{})
+      .and match(//)
+  end
 
-    expect(header_tags).to match(%r{})
-    expect(header_tags).to match(//)
+  def header_tags
+    view.content_for(:header_tags)
   end
 end