about summary refs log tree commit diff
path: root/spec/services/fetch_link_card_service_spec.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2021-11-05 23:23:05 +0100
committerGitHub <noreply@github.com>2021-11-05 23:23:05 +0100
commit39cdf61ab7be267a374c472c230b315971ead43c (patch)
tree990744c23f78c62a078d65d39f07c7d70a1e1c67 /spec/services/fetch_link_card_service_spec.rb
parent989c67d29d379f872f23a513f43d5100630c1b12 (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/fetch_link_card_service_spec.rb')
-rw-r--r--spec/services/fetch_link_card_service_spec.rb2
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'))