diff options
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 |