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
Fix specs
Dombi Attila0433dab9d6fe
diff --git a/spec/lib/api/v3/groups/group_sql_representer_rendering_spec.rb b/spec/lib/api/v3/groups/group_sql_representer_rendering_spec.rbindex 97b9f66bef9..6be43cd761d 100644--- a/spec/lib/api/v3/groups/group_sql_representer_rendering_spec.rb+++ b/spec/lib/api/v3/groups/group_sql_representer_rendering_spec.rb@@ -57,6 +57,7 @@ RSpec.describe API::V3::Groups::GroupSqlRepresenter, "rendering" do_type: "Group",id: group.id,name: group.name,+ email: "",_links: {self: {href: api_v3_paths.group(group.id),diff --git a/spec/lib/api/v3/placeholder_users/placeholder_user_sql_representer_rendering_spec.rb b/spec/lib/api/v3/placeholder_users/placeholder_user_sql_representer_rendering_spec.rbindex add3f750f68..972f2c39736 100644--- a/spec/lib/api/v3/placeholder_users/placeholder_user_sql_representer_rendering_spec.rb+++ b/spec/lib/api/v3/placeholder_users/placeholder_user_sql_representer_rendering_spec.rb@@ -57,6 +57,7 @@ RSpec.describe API::V3::PlaceholderUsers::PlaceholderUserSqlRepresenter, "render_type: "PlaceholderUser",id: placeholder_user.id,name: placeholder_user.name,+ email: "",_links: {self: {href: api_v3_paths.placeholder_user(placeholder_user.id),diff --git a/spec/lib/api/v3/principals/principal_sql_representer_rendering_spec.rb b/spec/lib/api/v3/principals/principal_sql_representer_rendering_spec.rbindex aaaff88a8cf..e3b56bcc19a 100644--- a/spec/lib/api/v3/principals/principal_sql_representer_rendering_spec.rb+++ b/spec/lib/api/v3/principals/principal_sql_representer_rendering_spec.rb@@ -60,6 +60,7 @@ RSpec.describe API::V3::Principals::PrincipalSqlRepresenter, "rendering" do_type: "Group",id: group.id,name: group.name,+ email: "",_links: {self: {href: api_v3_paths.group(group.id),@@ -83,6 +84,7 @@ RSpec.describe API::V3::Principals::PrincipalSqlRepresenter, "rendering" do_type: "PlaceholderUser",id: placeholder_user.id,name: placeholder_user.name,+ email: "",_links: {self: {href: api_v3_paths.placeholder_user(placeholder_user.id),@@ -108,6 +110,7 @@ RSpec.describe API::V3::Principals::PrincipalSqlRepresenter, "rendering" doname: current_user.name,firstname: current_user.firstname,lastname: current_user.lastname,+ email: current_user.mail,_links: {self: {href: api_v3_paths.user(current_user.id),diff --git a/spec/lib/api/v3/users/user_sql_representer_rendering_spec.rb b/spec/lib/api/v3/users/user_sql_representer_rendering_spec.rbindex a2113b2759f..aa258f6b886 100644--- a/spec/lib/api/v3/users/user_sql_representer_rendering_spec.rb+++ b/spec/lib/api/v3/users/user_sql_representer_rendering_spec.rb@@ -59,6 +59,7 @@ RSpec.describe API::V3::Users::UserSqlRepresenter, "rendering" doname: current_user.name,firstname: current_user.firstname,lastname: current_user.lastname,+ email: current_user.mail,_links: {self: {href: api_v3_paths.user(current_user.id),diff --git a/spec/requests/api/v3/groups/group_resource_spec.rb b/spec/requests/api/v3/groups/group_resource_spec.rbindex a018ffdca63..0264783c15c 100644--- a/spec/requests/api/v3/groups/group_resource_spec.rb+++ b/spec/requests/api/v3/groups/group_resource_spec.rb@@ -418,6 +418,7 @@ RSpec.describe "API v3 Group resource", content_type: :json do_type: "Group",id: other_group.id,name: other_group.name,+ email: "",_links: {self: {href: api_v3_paths.group(other_group.id),@@ -429,6 +430,7 @@ RSpec.describe "API v3 Group resource", content_type: :json do_type: "Group",id: group.id,name: group.name,+ email: "",_links: {self: {href: api_v3_paths.group(group.id),diff --git a/spec/requests/api/v3/placeholder_users/index_resource_spec.rb b/spec/requests/api/v3/placeholder_users/index_resource_spec.rbindex 674a237046f..d0c11aaef1d 100644--- a/spec/requests/api/v3/placeholder_users/index_resource_spec.rb+++ b/spec/requests/api/v3/placeholder_users/index_resource_spec.rb@@ -70,6 +70,7 @@ RSpec.describe API::V3::PlaceholderUsers::PlaceholderUsersAPI,_type: "PlaceholderUser",id: placeholder2.id,name: placeholder2.name,+ email: "",_links: {self: {href: api_v3_paths.placeholder_user(placeholder2.id),@@ -81,6 +82,7 @@ RSpec.describe API::V3::PlaceholderUsers::PlaceholderUsersAPI,_type: "PlaceholderUser",id: placeholder1.id,name: placeholder1.name,+ email: "",_links: {self: {href: api_v3_paths.placeholder_user(placeholder1.id),diff --git a/spec/requests/api/v3/principals/principals_resource_spec.rb b/spec/requests/api/v3/principals/principals_resource_spec.rbindex e254f050f89..d42e71f46bd 100644--- a/spec/requests/api/v3/principals/principals_resource_spec.rb+++ b/spec/requests/api/v3/principals/principals_resource_spec.rb@@ -228,6 +228,7 @@ RSpec.describe "API v3 Principals resource" do_type: "PlaceholderUser",id: placeholder_user.id,name: placeholder_user.name,+ email: "",_links: {self: {href: api_v3_paths.placeholder_user(placeholder_user.id),@@ -239,6 +240,7 @@ RSpec.describe "API v3 Principals resource" do_type: "Group",id: group.id,name: group.name,+ email: "",_links: {self: {href: api_v3_paths.group(group.id),@@ -250,6 +252,7 @@ RSpec.describe "API v3 Principals resource" do_type: "User",id: other_user.id,name: other_user.name,+ email: other_user.mail,_links: {self: {href: api_v3_paths.user(other_user.id),@@ -263,6 +266,7 @@ RSpec.describe "API v3 Principals resource" doname: user.name,firstname: user.firstname,lastname: user.lastname,+ email: user.mail,_links: {self: {href: api_v3_paths.user(user.id),diff --git a/spec/requests/api/v3/watcher_resource_spec.rb b/spec/requests/api/v3/watcher_resource_spec.rbindex 2fb8e9e3cde..acb46c42e3e 100644--- a/spec/requests/api/v3/watcher_resource_spec.rb+++ b/spec/requests/api/v3/watcher_resource_spec.rb@@ -305,6 +305,7 @@ RSpec.describe "API v3 Watcher resource", content_type: :json do_type: "User",id: available_watcher.id,name: available_watcher.name,+ email: available_watcher.mail,_links: {self: {href: api_v3_paths.user(available_watcher.id),@@ -318,6 +319,7 @@ RSpec.describe "API v3 Watcher resource", content_type: :json doname: current_user.name,firstname: current_user.firstname,lastname: current_user.lastname,+ email: current_user.mail,_links: {self: {href: api_v3_paths.user(current_user.id),