diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-18 16:16:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-18 16:16:36 +0300 |
commit | 311b0269b4eb9839fa63f80c8d7a58f32b8138a0 (patch) | |
tree | 07e7870bca8aed6d61fdcc810731c50d2c40af47 /spec/routing/openid_connect_spec.rb | |
parent | 27909cef6c4170ed9205afa7426b8d3de47cbb0c (diff) |
Add latest changes from gitlab-org/gitlab@14-5-stable-eev14.5.0-rc42
Diffstat (limited to 'spec/routing/openid_connect_spec.rb')
-rw-r--r-- | spec/routing/openid_connect_spec.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/routing/openid_connect_spec.rb b/spec/routing/openid_connect_spec.rb index dc9190114fd..4c08a71ae31 100644 --- a/spec/routing/openid_connect_spec.rb +++ b/spec/routing/openid_connect_spec.rb @@ -2,20 +2,20 @@ require 'spec_helper' -# oauth_discovery_keys GET /oauth/discovery/keys(.:format) doorkeeper/openid_connect/discovery#keys -# oauth_discovery_provider GET /.well-known/openid-configuration(.:format) doorkeeper/openid_connect/discovery#provider -# oauth_discovery_webfinger GET /.well-known/webfinger(.:format) doorkeeper/openid_connect/discovery#webfinger +# oauth_discovery_keys GET /oauth/discovery/keys(.:format) jwks#keys +# oauth_discovery_provider GET /.well-known/openid-configuration(.:format) jwks#provider +# oauth_discovery_webfinger GET /.well-known/webfinger(.:format) jwks#webfinger RSpec.describe Doorkeeper::OpenidConnect::DiscoveryController, 'routing' do it "to #provider" do - expect(get('/.well-known/openid-configuration')).to route_to('doorkeeper/openid_connect/discovery#provider') + expect(get('/.well-known/openid-configuration')).to route_to('jwks#provider') end it "to #webfinger" do - expect(get('/.well-known/webfinger')).to route_to('doorkeeper/openid_connect/discovery#webfinger') + expect(get('/.well-known/webfinger')).to route_to('jwks#webfinger') end it "to #keys" do - expect(get('/oauth/discovery/keys')).to route_to('doorkeeper/openid_connect/discovery#keys') + expect(get('/oauth/discovery/keys')).to route_to('jwks#keys') end end |