diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2021-11-05 23:23:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-05 23:23:05 +0100 |
commit | 39cdf61ab7be267a374c472c230b315971ead43c (patch) | |
tree | 990744c23f78c62a078d65d39f07c7d70a1e1c67 /spec/services | |
parent | 989c67d29d379f872f23a513f43d5100630c1b12 (diff) |
Add support for structured data and more OpenGraph tags to link cards (#16938)
Save preview cards under their canonical URL Increase max redirects to follow from 2 to 3
Diffstat (limited to 'spec/services')
-rw-r--r-- | spec/services/fetch_link_card_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/fetch_link_card_service_spec.rb b/spec/services/fetch_link_card_service_spec.rb index 736a6078d..4914c2753 100644 --- a/spec/services/fetch_link_card_service_spec.rb +++ b/spec/services/fetch_link_card_service_spec.rb @@ -1,7 +1,7 @@ require 'rails_helper' RSpec.describe FetchLinkCardService, type: :service do - subject { FetchLinkCardService.new } + subject { described_class.new } before do stub_request(:get, 'http://example.xn--fiqs8s/').to_return(request_fixture('idn.txt')) |