OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
tests[Op#49396]: add connection manager predicate unit specs
Kabiru Mwenja72fbbc42856e
diff --git a/spec/services/oauth_clients/connection_manager_spec.rb b/spec/services/oauth_clients/connection_manager_spec.rbindex 7c0263a59a0..b89a424a719 100644--- a/spec/services/oauth_clients/connection_manager_spec.rb+++ b/spec/services/oauth_clients/connection_manager_spec.rb@@ -499,6 +499,7 @@ RSpec.describe OAuthClients::ConnectionManager, :webmock, type: :model docontext 'without access token present' doit 'returns :failed_authorization' doexpect(subject).to eq :failed_authorization+ expect(instance).to be_authorization_state_failed_authorizationendend@@ -515,6 +516,7 @@ RSpec.describe OAuthClients::ConnectionManager, :webmock, type: :model doit 'returns :connected' doexpect(subject).to eq :connected+ expect(instance).to be_authorization_state_connectedendend@@ -525,6 +527,7 @@ RSpec.describe OAuthClients::ConnectionManager, :webmock, type: :model doit 'returns :error' doexpect(subject).to eq :error+ expect(instance).to be_authorization_state_errorendendend