diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-20 15:26:25 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-20 15:26:25 +0300 |
commit | a09983ae35713f5a2bbb100981116d31ce99826e (patch) | |
tree | 2ee2af7bd104d57086db360a7e6d8c9d5d43667a /spec/routing/openid_connect_spec.rb | |
parent | 18c5ab32b738c0b6ecb4d0df3994000482f34bd8 (diff) |
Add latest changes from gitlab-org/gitlab@13-2-stable-ee
Diffstat (limited to 'spec/routing/openid_connect_spec.rb')
-rw-r--r-- | spec/routing/openid_connect_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/routing/openid_connect_spec.rb b/spec/routing/openid_connect_spec.rb index fc170f8986c..b5291953730 100644 --- a/spec/routing/openid_connect_spec.rb +++ b/spec/routing/openid_connect_spec.rb @@ -6,7 +6,7 @@ require 'spec_helper' # jwks GET /-/jwks(.: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 -describe Doorkeeper::OpenidConnect::DiscoveryController, 'routing' do +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') end @@ -26,7 +26,7 @@ end # oauth_userinfo GET /oauth/userinfo(.:format) doorkeeper/openid_connect/userinfo#show # POST /oauth/userinfo(.:format) doorkeeper/openid_connect/userinfo#show -describe Doorkeeper::OpenidConnect::UserinfoController, 'routing' do +RSpec.describe Doorkeeper::OpenidConnect::UserinfoController, 'routing' do it "to #show" do expect(get('/oauth/userinfo')).to route_to('doorkeeper/openid_connect/userinfo#show') end |