about summary refs log tree commit diff
path: root/spec
diff options
context:
space:
mode:
authorOndřej Hruška <ondra@ondrovo.com>2017-10-06 09:34:12 +0200
committerGitHub <noreply@github.com>2017-10-06 09:34:12 +0200
commit1a8011648fa436fdf9dd6ed1af8f5ffe0d324430 (patch)
tree436700a66f06e9d89fa7a794b04e14ec35131f1a /spec
parentb1217242fc3949b9a9fbee3e654fd16a0abd8a03 (diff)
parent37e141bccbb72a483b81eab359c19e336fed1029 (diff)
Merge pull request #160 from glitch-soc/ugly-fix-notif-clearing
workaround for notif clearing
Diffstat (limited to 'spec')
-rw-r--r--spec/views/about/show.html.haml_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/views/about/show.html.haml_spec.rb b/spec/views/about/show.html.haml_spec.rb
index b2f2658de..ca59fa9e3 100644
--- a/spec/views/about/show.html.haml_spec.rb
+++ b/spec/views/about/show.html.haml_spec.rb
@@ -26,9 +26,9 @@ describe 'about/show.html.haml', without_verify_partial_doubles: true do
 
     header_tags = view.content_for(:header_tags)
 
-    expect(header_tags).to match(%r{<meta content='.+' property='og:title'>})
-    expect(header_tags).to match(%r{<meta content='website' property='og:type'>})
-    expect(header_tags).to match(%r{<meta content='.+' property='og:image'>})
-    expect(header_tags).to match(%r{<meta content='http://.+' property='og:url'>})
+    expect(header_tags).to match(%r{<meta content=".+" property="og:title" />})
+    expect(header_tags).to match(%r{<meta content="website" property="og:type" />})
+    expect(header_tags).to match(%r{<meta content=".+" property="og:image" />})
+    expect(header_tags).to match(%r{<meta content="http://.+" property="og:url" />})
   end
 end