diff --git a/spec/jekyll_seo_tag_integration_spec.rb b/spec/jekyll_seo_tag_integration_spec.rb index 016fdae..22dcd08 100755 --- a/spec/jekyll_seo_tag_integration_spec.rb +++ b/spec/jekyll_seo_tag_integration_spec.rb @@ -329,7 +329,7 @@ EOS end it "minifies JSON-LD" do - expect(output).to_not match(/{.*?\s.*?}/) + expect(output).to_not match(%r!{.*?\s.*?}!) end end end