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

fix spec description

ulferts5e823c9e4e0a
diff --git a/spec/services/authorization/user_global_roles_query_spec.rb b/spec/services/authorization/user_global_roles_query_spec.rb
index 3767b3c8989..415257205f7 100644
--- a/spec/services/authorization/user_global_roles_query_spec.rb
+++ b/spec/services/authorization/user_global_roles_query_spec.rb
@@ -125,7 +125,7 @@ RSpec.describe Authorization::UserGlobalRolesQuery do
global_member.save!
end
- it 'is the global role and non member role' do
+ it 'is the global role, member role and non member role' do
expect(described_class.query(user)).to contain_exactly(global_role, role, non_member)
end
end
@@ -137,7 +137,7 @@ RSpec.describe Authorization::UserGlobalRolesQuery do
work_package_member.save!
end
- it 'is the global role and non member role' do
+ it 'is the global role, member role and non member role' do
expect(described_class.query(user)).to contain_exactly(global_role, role, non_member)
end
end