Skip to content

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

ensure order in spec

ulfertsa192598f106a
diff --git a/spec/requests/api/v3/user/user_resource_spec.rb b/spec/requests/api/v3/user/user_resource_spec.rb
index 5241bb946ff..a7d3f2ca5bf 100644
--- a/spec/requests/api/v3/user/user_resource_spec.rb
+++ b/spec/requests/api/v3/user/user_resource_spec.rb
@@ -45,7 +45,7 @@ describe 'API v3 User resource', type: :request, content_type: :json do
end
describe '#index' do
- let(:get_path) { api_v3_paths.users }
+ let(:get_path) { api_v3_paths.path_for(:users, sort_by: [%i[id asc]]) }
before do
user