spec/routes/oauth_spec.rb in osso-0.0.3.5 vs spec/routes/oauth_spec.rb in osso-0.0.3.6
- old
+ new
@@ -33,10 +33,10 @@
client_id: client.identifier,
response_type: 'code',
redirect_uri: client.redirect_uri_values.sample,
)
- provider_id = enterprise.saml_providers.first.id
+ provider_id = enterprise.identity_providers.first.id
expect(last_response).to be_redirect
follow_redirect!
expect(last_request.url).to match("auth/saml/#{provider_id}")
end