From a7d0e71ab6a0fd5d2c1f52f964933d6bc08e295f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Wed, 18 Sep 2024 14:46:46 +0200 Subject: [PATCH] Fix spec --- spec/requests/webfinger_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/requests/webfinger_spec.rb b/spec/requests/webfinger_spec.rb index 64b8ec3..69ef542 100644 --- a/spec/requests/webfinger_spec.rb +++ b/spec/requests/webfinger_spec.rb @@ -92,7 +92,7 @@ RSpec.describe "WebFinger", type: :request do expect(rs_link["href"]).to eql("#{Setting.rs_storage_url}/tony") oauth_url = rs_link["properties"]["http://tools.ietf.org/html/rfc6749#section-4.2"] - expect(oauth_url).to eql("http://www.example.com/rs/oauth/tony") + expect(oauth_url).to eql("http://accounts.kosmos.org/rs/oauth/tony") end it "returns CORS headers" do