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
turn user-agent expectation version independent
ulferts57ae2fc7ec6d
diff --git a/spec/requests/api/v3/authentication_spec.rb b/spec/requests/api/v3/authentication_spec.rbindex 916f9cf210d..63b1ff9372f 100644--- a/spec/requests/api/v3/authentication_spec.rb+++ b/spec/requests/api/v3/authentication_spec.rb@@ -459,7 +459,7 @@ RSpec.describe "API V3 Authentication" doheaders: {"Accept" => "*/*","Accept-Encoding" => "gzip;q=1.0,deflate;q=0.6,identity;q=0.3",- "User-Agent" => "JSON::JWK::Set::Fetcher 2.10.1"+ "User-Agent" => /JSON::JWK::Set::Fetcher \d+\.\d+\.\d+/}).to_return(status: 200, body: JWT::JWK::Set.new(jwk).export.to_json, headers: {})@@ -521,7 +521,7 @@ RSpec.describe "API V3 Authentication" doheaders: {"Accept" => "*/*","Accept-Encoding" => "gzip;q=1.0,deflate;q=0.6,identity;q=0.3",- "User-Agent" => "JSON::JWK::Set::Fetcher 2.10.1"+ "User-Agent" => /JSON::JWK::Set::Fetcher \d+\.\d+\.\d+/}).to_return(status: 200, body: JWT::JWK::Set.new(wrong_key).export.to_json, headers: {})