diff options
author | Ondřej Hruška <ondra@ondrovo.com> | 2017-10-06 09:07:04 +0200 |
---|---|---|
committer | Ondřej Hruška <ondra@ondrovo.com> | 2017-10-06 09:07:04 +0200 |
commit | dcd8ff5308d59f7bbf16ce2a62316a5af4d37da7 (patch) | |
tree | 0c810568ddca33fc1c10ab30325824276576639b /spec/views | |
parent | f82e90bf11fd147c40f467a0d2eb0097d11898ac (diff) |
fix haml quotes in a bid to make travis less grumpy
Diffstat (limited to 'spec/views')
-rw-r--r-- | spec/views/about/show.html.haml_spec.rb | 8 |
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 |